/* Global Font Override */
body {
    font-family: 'Elms Sans', sans-serif !important;
}

/* Custom Toast (Android Style) */
#toast-container {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.custom-toast {
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 1);
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    text-align: center;
    max-width: 80vw;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 16px;
    box-sizing: border-box;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: scale(0.95);
    transition: transform 0.25s ease;
    box-sizing: border-box;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

/* Kunci scroll body saat modal aktif */
body.modal-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Khusus Modal Checkout agar header & footer sticky dan body scroll lancar */
.modal-checkout-card {
    max-width: 480px !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.modal-checkout-body {
    flex: 1 1 auto !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 16px 20px !important;
    min-height: 0 !important;
}

/* Custom Dropdown Styling */
.custom-select-container {
    position: relative;
    width: 100%;
}
.custom-select-trigger {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-top: 4px;
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.custom-select-options.show {
    display: block;
}
.custom-select-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.custom-select-option:hover {
    background: #f3f4f6;
}
.