/* Koskii / Gokwik Pixel-Perfect Modal Styles with FontAwesome & Matching Height */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.gokwik-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.gokwik-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.gokwik-modal-card {
    background: #ffffff;
    width: 420px;
    max-width: 94vw;
    height: 640px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gokwik-modal-backdrop.active .gokwik-modal-card {
    transform: translateY(0) scale(1);
}

/* Header */
.gokwik-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
}
.gokwik-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gokwik-back-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #1e293b;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}
.gokwik-back-btn:hover {
    color: #000;
}
.gokwik-brand-logo {
    height: 24px;
    object-fit: contain;
}
.gokwik-header-right-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.gokwik-header-right-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Item Breakdown Accordion (Image 3) */
.gokwik-items-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 0 18px;
    flex-shrink: 0;
}
.gokwik-items-accordion.open {
    max-height: 380px;
    overflow-y: auto;
    padding: 14px 18px;
}
.gokwik-accordion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
}
.gokwik-accordion-item:last-child {
    border-bottom: none;
    margin-bottom: 8px;
}
.gokwik-accordion-img {
    width: 62px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
}
.gokwik-accordion-info {
    flex: 1;
    min-width: 0;
}
.gokwik-accordion-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gokwik-accordion-meta {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.gokwik-delivery-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.gokwik-accordion-price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}
.gokwik-accordion-summary {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 10px;
    font-size: 13px;
    border: 1px solid #f1f5f9;
}
.gokwik-accordion-sum-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #475569;
}
.gokwik-accordion-sum-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    margin-top: 8px;
}

/* Modal Body */
.gokwik-modal-body {
    padding: 18px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

/* Coupon Card (Image 1) */
.gokwik-coupon-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.gokwik-coupon-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    background: #ffffff;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.gokwik-coupon-input-wrap:focus-within {
    border-color: #0f172a;
}
.gokwik-coupon-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 13.5px;
    color: #0f172a;
    background: transparent;
    font-family: inherit;
}
.gokwik-coupon-apply-txt-btn {
    background: none;
    border: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    padding: 0 0 0 8px;
}
.gokwik-coupon-avail-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #1e293b;
}
.gokwik-coupon-avail-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.gokwik-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.gokwik-coupon-view-all {
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    font-size: 13.5px;
}
.gokwik-coupon-view-all:hover {
    text-decoration: underline;
}

/* Login Card (Image 1) */
.gokwik-login-card {
    border: 1px solid #f5ebd6;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #ffffff;
}
.gokwik-login-banner {
    background: #fdf6e7;
    color: #926c15;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    padding: 8px 12px;
    letter-spacing: 0.2px;
}
.gokwik-login-content {
    padding: 16px;
}
.gokwik-login-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}
.gokwik-mobile-field-wrap {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 14px;
    background: #ffffff;
    transition: border-color 0.2s;
}
.gokwik-mobile-field-wrap:focus-within {
    border-color: #0f172a;
}
.gokwik-mobile-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}
.gokwik-mobile-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}
.gokwik-mobile-input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    letter-spacing: 0.5px;
    background: transparent;
    font-family: inherit;
}

/* Badges & Trust */
.gokwik-powered-by {
    text-align: center;
    margin: 12px 0 6px 0;
}
.gokwik-powered-lbl {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gokwik-powered-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.gokwik-trust-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* Modal Footer */
.gokwik-modal-footer {
    padding: 16px 18px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}
.gokwik-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 14px;
    cursor: pointer;
    user-select: none;
}
.gokwik-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #000000;
    cursor: pointer;
}
.gokwik-continue-btn {
    width: 100%;
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-family: inherit;
}
.gokwik-continue-btn:hover {
    background: #1e293b;
}

.gokwik-terms-text {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-top: 10px;
}
.gokwik-terms-text a {
    color: #475569;
    text-decoration: underline;
}

/* Bottom Sheet Coupon Modal (Image 2) */
.gokwik-coupon-sheet {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 88%;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    z-index: 30;
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.gokwik-coupon-sheet.active {
    bottom: 0;
}
.gokwik-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
}
.gokwik-sheet-close-btn {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
.gokwik-sheet-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.gokwik-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
}
.gokwik-tab-btn.active {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.gokwik-sheet-body {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1;
}
.gokwik-coupon-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.gokwik-coupon-code-badge {
    display: inline-block;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 4px;
}
.gokwik-coupon-apply-btn {
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.gokwik-coupon-apply-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Floating OTP Card & Overlay (Image media_1787050147815.png) */
.gokwik-otp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gokwik-otp-overlay.active {
    opacity: 1;
    visibility: visible;
}
.gokwik-otp-card-floating {
    background: #ffffff;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.25);
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gokwik-otp-overlay.active .gokwik-otp-card-floating {
    transform: translateY(0);
}
.gokwik-otp-close-circle {
    position: absolute;
    top: -42px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
}
.gokwik-otp-top-banner {
    background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
    width: 100%;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}
.gokwik-otp-gold-lock {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fde68a;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(180, 83, 9, 0.15);
}
.gokwik-otp-pattern-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #10b981;
    font-size: 14px;
}
.gokwik-otp-title-text {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    text-align: center;
}
.gokwik-otp-sub-text {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
}
.gokwik-otp-verify-lbl {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    text-align: center;
}
.gokwik-otp-target-lbl {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    text-align: center;
}
.gokwik-otp-target-lbl strong {
    color: #0f172a;
}
.gokwik-otp-edit-link {
    color: #000000;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 4px;
}
.gokwik-otp-boxes {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.gokwik-otp-input {
    width: 48px;
    height: 52px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    background: #ffffff;
}
.gokwik-otp-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.gokwik-otp-trouble-text {
    font-size: 12px;
    color: #b45309;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.35;
}
.gokwik-otp-resend-btn {
    width: 100%;
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 13.5px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 12px;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.gokwik-otp-skip-link {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 12px;
}
