html,
body {
    /* Reset margin & padding */
    margin: 0;
    padding: 0;

    /* Tinggi penuh */
    height: 100%;
    width: 100%;

    /* Mencegah overscroll/bounce effect */
    overscroll-behavior: none;
    overflow: hidden; /* atau 'auto' jika butuh scroll */

    /* Disable text selection jika perlu */
    -webkit-user-select: none;
    user-select: none;

    /* Disable tap highlight */
    -webkit-tap-highlight-color: transparent;

    /* Smooth font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Posisi fixed support */
    position: relative;
}
body {
    /* Disable pull-to-refresh */
    overscroll-behavior-y: contain;
    /* Memberi jarak aman agar konten tidak tertutup poni/notch */
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    font-family: "SF Pro Display", sans-serif;
}
input,
textarea,
select {
    /* Pastikan font minimal 16px agar iOS tidak auto-zoom saat fokus */
    font-size: 16px;

    /* Mengembalikan kemampuan select teks khusus di input form */
    -webkit-user-select: text;
    user-select: text;
}
#maps {
    height: 100%;
    width: 100%;
}
.box {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45dvh;
    pointer-events: none;
    z-index: 10;
    padding: 1rem 1rem 0 1rem;
    border-radius: 28px 28px 0 0;
    background-color: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}
.box > * {
    pointer-events: auto;
}
.box .box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.box .box-header .btn-link {
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    column-gap: 8px;
    padding: 0 4px;
    border-radius: 4px;
}
.box .box-header .btn-link span {
    font-weight: 400;
    color: #333;
    font-size: 17px;
    line-height: 22px;
}
.box .box-header .btn-link:active {
    background-color: rgba(195, 195, 195, 0.25);
}
.box .box-header .action-btn {
    background-color: rgba(195, 195, 195, 0.25);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.box .box-header .action-btn:active {
    background-color: rgba(195, 195, 195, 0.5);
}
.box .box-body {
    display: flex;
    flex-direction: column;
}
.box .box-body .form-group {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    height: 54px;
    background-color: #f4f9ff;
    border: 1px solid #e5f2ff;
    padding: 8px 1.25rem;
    border-radius: 8px;
    margin-bottom: 20px;
}
.box .box-body .form-group .input-group {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1px;
    height: 100%;
    width: 100%;
}
.box .box-body .form-group .input-group label {
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
    color: rgba(0, 0, 0, 0.3);
}
.box .box-body .form-group .input-group input,
.box .box-body .form-group .input-group select {
    border: none;
    background-color: transparent;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.43px;
    color: #333;
    width: 100%;
    padding: 0;
    margin: 0;
}
.box .box-body .form-group .input-group input:focus,
.box .box-body .form-group .input-group select:focus {
    outline: none;
    border: none;
    box-shadow: none;
}
.box .box-body .btn-primary {
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background-color: #007aff;
    font-weight: 400;
    font-size: 16px;
    line-height: 13px;
    letter-spacing: 0.06px;
    width: 100%;
    height: 43px;
    border-radius: 10px;
    padding: 0 12px;
}
.box .box-body .btn-primary:active {
    background-color: #0069d9;
}
.box .box-body .btn-primary:disabled {
    background-color: #e5f2ff;
    color: #333;
}
.alert-primary {
    background-color: rgba(255, 164, 27, 1);
    border-color: rgba(255, 164, 27, 1);
    position: fixed;
    transform: translateX(-25%);
    top: 60px;
    left: 30%;
    right: 0;
    z-index: 9999;
    border-radius: 10px;
}
/* JANGAN DIHAPUS */
/* .custom-controls {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    padding: 1rem 1rem 0 1rem;
} */
/* Semua child elements yang interaktif harus pointer-events: auto */
/* .custom-controls > * {
    pointer-events: auto;
}
.custom-controls .search-maps {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
    transition: box-shadow 0.3s ease;
}
.custom-controls .search-maps:focus {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.custom-controls .action-btn {
    background: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.custom-controls .action-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.custom-controls .action-btn:active {
    transform: translateY(0);
} */
