/* =========================================================
   CHECKOUT COMBINED — SHELL / LAYOUT (mobile-first)
   Design system: brand var(--brand-accent, #3276d8)/var(--brand-accent, #3e71b7), accent #c0336d,
   success #28a745, warning #f5a623, text var(--brand-ink, #1a1a2e)/#333.
   ========================================================= */

.checkout-page {
    color: #333;
    padding-bottom: 96px; /* room for sticky mobile pay bar */
}

.checkout-hero-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-ink, #1a1a2e);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.checkout-hero-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 10px 0;
}

.checkout-hero-rule {
    height: 4px;
    width: 80px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-accent, #3276d8) 0%, #c0336d 100%);
}

/* Card / section shell */
.checkout-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    padding: 18px 16px;
}

/* Section header: icon tint + title + subtitle */
.checkout-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-section-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.checkout-icon-brand   { background: linear-gradient(135deg, var(--brand-accent, #3276d8) 0%, var(--brand-accent, #3e71b7) 100%); }
.checkout-icon-success { background: linear-gradient(135deg, #28a745 0%, #1f8d3a 100%); }
.checkout-icon-warning { background: linear-gradient(135deg, #f5a623 0%, #e0900f 100%); }
.checkout-icon-info    { background: linear-gradient(135deg, var(--brand-accent, #3276d8) 0%, #2563c0 100%); }

.checkout-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-ink, #1a1a2e);
    line-height: 1.2;
}

.checkout-section-sub {
    margin: 3px 0 0 0;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Trust / tip / info banners */
.checkout-trust-note,
.checkout-tip,
.checkout-success-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 14px;
}
.checkout-trust-note  { background: #eff6ff; border-left: 4px solid var(--brand-accent, #3276d8); }
.checkout-trust-note i { color: var(--brand-accent, #3276d8); font-size: 18px; margin-top: 2px; }
.checkout-trust-note p { margin: 0; color: #1e40af; font-size: 13px; line-height: 1.5; }

.checkout-tip { background: #fff8e1; border-left: 4px solid #f5a623; }
.checkout-tip i { color: #d97706; font-size: 16px; margin-top: 2px; }
.checkout-tip small { color: #92400e; font-size: 13px; line-height: 1.5; }

.checkout-success-note { background: #f0fdf4; border-left: 4px solid #28a745; }
.checkout-success-note i { color: #1f8d3a; font-size: 16px; margin-top: 2px; }
.checkout-success-note small { color: #065f46; font-size: 13px; line-height: 1.5; }

/* Room heading inside passengers section */
.checkout-room-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #eaf2fd;
    border-left: 4px solid var(--brand-accent, #3276d8);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.checkout-room-head-left { display: flex; align-items: center; gap: 12px; }
.checkout-room-icon {
    width: 38px; height: 38px;
    background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-accent, #3276d8); font-size: 16px;
    box-shadow: 0 2px 8px rgba(50,118,216,.18);
}
.checkout-room-title { margin: 0; font-size: 16px; font-weight: 700; color: #18335c; }
.checkout-room-pax { color: #2563c0; font-size: 12px; font-weight: 500; }
.checkout-room-pax i { font-size: 10px; margin-right: 4px; }
.checkout-room-badge {
    background: #fff; border-radius: 20px; padding: 5px 12px;
    color: var(--brand-accent, #3276d8); font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 6px rgba(50,118,216,.15);
}

/* Secure banner + guarantees in final section */
.checkout-secure-banner {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff8e1; border-left: 4px solid #f5a623;
    border-radius: 12px; padding: 16px;
}
.checkout-secure-banner > i { color: #d97706; font-size: 22px; margin-top: 2px; }
.checkout-secure-title { margin: 0 0 6px 0; font-size: 16px; font-weight: 700; color: #92400e; }
.checkout-secure-list { margin: 0; color: #78350f; font-size: 13px; line-height: 1.6; }

.checkout-cta {
    /* Toma el color de botón del theme (degradado inicio→fin) con fallback. */
    background: var(--brand-btn-bg, linear-gradient(135deg, #28a745 0%, #1f8d3a 100%));
    color: var(--brand-btn-text, #fff); font-weight: 700; font-size: 17px;
    padding: 16px 24px; border: none; border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-transform: uppercase; letter-spacing: .5px;
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.checkout-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.3); color: var(--brand-btn-text, #fff); }
.checkout-cta:focus-visible { outline: 3px solid rgba(0,0,0,.25); outline-offset: 2px; }

/* Botón "Continuar" de payment_button.html (gana a .btn-danger de Bootstrap). */
.pay-cta-btn.btn,
.pay-cta-btn.btn:hover,
.pay-cta-btn.btn:focus,
.pay-cta-btn.btn:active {
    background: var(--brand-btn-bg, #dc3545);
    border-color: transparent;
    color: var(--brand-btn-text, #fff);
}

.checkout-cta-note {
    text-align: center; margin: 14px 0 0 0;
    color: #666; font-size: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.checkout-cta-note i { color: #28a745; font-size: 11px; }

.checkout-guarantees {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    padding: 14px; margin-top: 18px;
    background: #f9fafb; border-radius: 10px;
}
.checkout-guarantee { text-align: center; }
.checkout-guarantee i { font-size: 22px; margin-bottom: 6px; }
.checkout-guarantee small { display: block; color: #666; font-size: 11px; font-weight: 600; }
.checkout-guarantee-sep { width: 1px; height: 28px; background: #e5e7eb; }

/* =========================================================
   RESUME SIDEBAR
   ========================================================= */
.resume-destination {
    background: linear-gradient(135deg, var(--brand-accent, #3276d8) 0%, var(--brand-accent, #3e71b7) 100%);
    border-radius: 12px; padding: 16px; margin-bottom: 16px; color: #fff;
}
.resume-destination-row { display: flex; align-items: center; gap: 12px; }
.resume-destination-row + .resume-destination-row { margin-top: 12px; }
.resume-destination-row i { font-size: 20px; flex: 0 0 auto; }
.resume-destination-row small { display: block; opacity: .9; font-size: 12px; }
.resume-destination-row strong { font-size: 15px; }

.resume-services { display: grid; gap: 12px; margin-bottom: 16px; }
.resume-service {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid #eef0f4; border-radius: 10px; padding: 14px;
}
.resume-service-pax { background: #fafafa; align-items: flex-start; }
.resume-service-icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.resume-service > div strong { display: block; color: #333; font-size: 14px; margin-bottom: 3px; }
.resume-service > div > span { display: block; color: #666; font-size: 13px; }
.resume-ok { display: block; color: #28a745; font-weight: 600; font-size: 12px; margin-top: 4px; }
.resume-meal { display: block; color: #666; font-size: 12px; margin-top: 3px; }
.resume-meal i { color: #f5a623; }
.resume-pax-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.resume-pax-pills span {
    background: #fff; border: 1px solid #eef0f4; padding: 5px 11px;
    border-radius: 20px; font-size: 12px; color: #555;
}

.resume-divider { border: 0; border-top: 1px solid #eef0f4; margin: 18px 0; }

.resume-price-breakdown { background: #f8f9fa; border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.resume-price-line {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px; padding: 7px 0; border-bottom: 1px dashed #dee2e6;
}
.resume-price-line:last-child { border-bottom: 0; }
.resume-price-line > span:first-child { color: #495057; font-size: 13px; }
.resume-price-amount { color: #212529; font-weight: 600; font-size: 14px; white-space: nowrap; }
.resume-discount {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #1f8d3a 100%);
    border-radius: 8px; padding: 10px 12px; margin: 10px 0; color: #fff;
    font-weight: 700; font-size: 14px;
}

/* Ajuste por medio de pago (se inyecta al elegir método con descuento/recargo). */
.resume-payadjust {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    margin-top: 8px; padding: 9px 11px; border-radius: 8px;
    font-weight: 700; font-size: 13px;
}
.resume-payadjust i { margin-right: 4px; }
.resume-payadjust--discount { background: #eafaf0; color: #1f8d3a; }
.resume-payadjust--surcharge { background: #fff4e6; color: #b45309; }

.resume-total {
    background: linear-gradient(135deg, var(--brand-accent, #3276d8) 0%, var(--brand-accent, #3e71b7) 100%);
    border-radius: 12px; padding: 18px; text-align: center;
    box-shadow: 0 4px 12px rgba(50,118,216,.3);
}
.resume-total > small { color: #fff; opacity: .9; display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.resume-total h2 { margin: 4px 0; color: #fff; font-size: 30px; font-weight: 700; line-height: 1; }
.resume-total-secure { margin-top: 6px; font-size: 12px; }

.currency-switch {
    background: #fff; border-radius: 50px; padding: 8px 16px;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.currency-label { font-size: 14px; font-weight: 600; color: #333; }
.currency-switch .form-check { padding-left: 2.5em; }

/* Bookeable / deposit box */
.bookeable-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px dashed #f5a623; border-radius: 14px;
    padding: 18px 16px; text-align: center; margin-top: 14px;
    position: relative; overflow: hidden;
}
.bookeable-flag {
    position: absolute; top: -2px; right: -2px;
    background: linear-gradient(135deg, #f5a623, #ff8c00); color: #fff;
    font-size: 10px; font-weight: 800; padding: 4px 12px;
    border-radius: 0 12px 0 12px; text-transform: uppercase; letter-spacing: .5px;
}
.bookeable-lock { font-size: 26px; margin-bottom: 6px; }
.bookeable-headline { font-size: 15px; font-weight: 800; color: var(--brand-ink, #1a1a2e); margin: 0 0 4px 0; line-height: 1.3; }
.bookeable-amount {
    display: inline-block; background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff; padding: 2px 12px; border-radius: 20px; font-size: 17px;
}
.bookeable-sub { font-size: 13px; color: #555; margin: 8px 0 0 0; line-height: 1.5; }
.bookeable-sub strong { color: var(--brand-ink, #1a1a2e); }
.bookeable-badges { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 11px; color: #666; }

/* Additionals card */
.checkout-additionals-intro { color: #92400e; font-size: 13px; margin: 0 0 14px 0; line-height: 1.5; }
.checkout-additionals-intro i { margin-right: 6px; }
.checkout-additionals-list { background: #fff; border: 1px solid #eef0f4; border-radius: 8px; padding: 4px 14px; }
.checkout-additional-item { padding: 12px 0; }
.checkout-additional-item.has-sep { border-bottom: 1px dashed #ffe082; }
.checkout-additional-item strong { display: block; color: #424242; font-size: 14px; line-height: 1.4; }
.checkout-additional-item strong i { color: #28a745; margin-right: 6px; }
.checkout-additional-item p { margin: 4px 0 0 22px; color: #616161; font-size: 13px; line-height: 1.5; }
.checkout-additionals-tip { margin-top: 14px; padding: 12px; background: #fff8e1; border-radius: 8px; border-left: 4px solid #f5a623; }
.checkout-additionals-tip small { color: #92400e; font-size: 13px; line-height: 1.5; }
.checkout-additionals-tip i { margin-right: 6px; }

/* Policy card */
.checkout-policy-points { background: #f8f9fa; border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.checkout-policy-points p { margin: 0 0 10px 0; color: #334155; font-size: 13px; line-height: 1.5; }
.checkout-policy-points p:last-child { margin-bottom: 0; }
.checkout-policy-points i { color: #28a745; margin-right: 8px; }
.checkout-policy-btn {
    background: linear-gradient(135deg, var(--brand-accent, #3276d8) 0%, #2563c0 100%); color: #fff;
    font-weight: 600; font-size: 14px; padding: 12px 26px; border: none;
    border-radius: 30px; box-shadow: 0 4px 14px rgba(50,118,216,.35);
    display: inline-flex; align-items: center; gap: 8px; transition: transform .2s ease;
}
.checkout-policy-btn:hover { transform: translateY(-1px); color: #fff; }
.checkout-policy-note { margin: 14px 0 0 0; text-align: center; color: #2563c0; font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* =========================================================
   STICKY MOBILE PAY BAR
   ========================================================= */
.checkout-paybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-top: 1px solid #eef0f4;
    box-shadow: 0 -2px 14px rgba(0,0,0,.1);
    padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.checkout-paybar-info { flex: 1; min-width: 0; }
.checkout-paybar-info small { display: block; color: #666; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.checkout-paybar-info strong { display: block; color: var(--brand-ink, #1a1a2e); font-size: 19px; font-weight: 700; line-height: 1.1; }
.checkout-paybar-btn {
    flex: 0 0 auto;
    background: var(--brand-btn-bg, linear-gradient(135deg, #28a745 0%, #1f8d3a 100%)); color: var(--brand-btn-text, #fff);
    font-weight: 700; font-size: 15px; padding: 13px 20px; border: none; border-radius: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.22); cursor: pointer;
}
.checkout-paybar-btn:focus-visible { outline: 3px solid rgba(0,0,0,.25); outline-offset: 2px; }

/* =========================================================
   DESKTOP LAYOUT — sticky sidebar, hide mobile pay bar
   ========================================================= */
@media (min-width: 992px) {
    .checkout-page { padding-bottom: 0; }
    .checkout-card { padding: 22px 20px; }
    .checkout-section-title { font-size: 19px; }
    .checkout-hero-title { font-size: 28px; }

    .resume-box {
        position: -webkit-sticky;
        position: sticky;
        top: 20px;
    }
}

.payment-option:hover {
    border-color: #10b981 !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15) !important;
    transform: translateY(-1px);
}

    .passenger-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 20px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .passenger-header-title {
        font-weight: 600;
        font-size: 1.25rem;
    }
    
    .passenger-header-subtitle {
        font-size: 0.9rem;
    }
    
    .passenger-form-content {
        background: #fff;
        padding: 24px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .section-title {
        color: #667eea;
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
    }
    
    .form-label-custom {
        font-weight: 500;
        color: #2d3748;
        margin-bottom: 8px;
    }
    
    .form-control-custom {
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px 16px;
        transition: all 0.3s;
        width: 100%;
    }
    select.form-control-custom {
        font-size: 12px;
    }

    .form-control-custom.is-invalid {
        border-color: #dc3545;
        padding-right: calc(1.5em + .75rem)!important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(.375em + .1875rem) center;
        background-size: calc(.75em + .375rem) calc(.75em + .375rem)
    }

    .form-control-custom:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
        outline: none;
    }

    .billing-header {
        margin-bottom: 24px;
    }

    .billing-header-flex {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

    .billing-icon-circle {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 14px;
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    }

    .billing-icon-white {
        color: #fff;
        font-size: 20px;
    }

    .billing-title {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.2;
    }

    .billing-subtitle {
        margin: 4px 0 0 0;
        font-size: 13px;
        color: #6b7280;
        font-weight: 500;
    }

    .billing-subtitle-icon {
        font-size: 11px;
        margin-right: 4px;
    }

    .billing-field {
        margin-bottom: 18px;
    }

    .billing-field-small {
        margin-bottom: 12px;
    }

    .billing-label {
        display: block;
        font-weight: 600;
        font-size: 14px;
        color: #374151;
        margin-bottom: 8px;
    }

    .billing-label-icon {
        color: #8b5cf6;
        margin-right: 6px;
        font-size: 13px;
    }

    .billing-label-icon-sm {
        color: #8b5cf6;
        margin-right: 6px;
        font-size: 12px;
    }

    .billing-info-box {
        background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
        border-radius: 10px;
        padding: 14px 16px;
        border-left: 4px solid #8b5cf6;
    }

    .billing-info-text {
        color: #6b21a8;
        font-size: 13px;
        line-height: 1.5;
        display: block;
        font-weight: 500;
    }

    .billing-success-box {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-radius: 10px;
        padding: 14px 16px;
        border-left: 4px solid #3b82f6;
    }

    .billing-success-flex {
        display: flex;
        align-items: start;
        gap: 10px;
    }

    .billing-success-icon {
        color: #2563eb;
        font-size: 16px;
        margin-top: 2px;
    }

    .billing-success-text {
        color: #1e40af;
        font-size: 12px;
        line-height: 1.5;
        font-weight: 500;
    }

    .billing-optional {
        color: #9ca3af;
        font-weight: 400;
    }

    .billing-icon-mr {
        margin-right: 6px;
    }

    .billing-col-right {
        padding-right: 8px;
    }

    .billing-col-left {
        padding-left: 8px;
    }

    .billing-col-center {
        padding-left: 4px;
        padding-right: 4px;
    }
.contact-header { margin-bottom: 24px; }
.contact-header-flex { display: flex; align-items: center; margin-bottom: 8px; }
.contact-icon-circle { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-right: 14px; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.contact-icon-white { color: #fff; font-size: 20px; }
.contact-title { margin: 0; font-size: 22px; font-weight: 700; color: #1f2937; line-height: 1.2; }
.contact-subtitle { margin: 4px 0 0 0; font-size: 13px; color: #6b7280; font-weight: 500; }
.icon-xs { font-size: 11px; margin-right: 4px; }
.section-mb { margin-bottom: 18px; }
.section-mb-sm { margin-bottom: 12px; }
.label-primary { display: block; font-weight: 600; font-size: 14px; color: #374151; margin-bottom: 8px; }
.label-secondary { display: block; font-weight: 500; font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.icon-primary { color: #06b6d4; margin-right: 6px; font-size: 13px; }
.badge-success { color: #10b981; font-size: 12px; margin-left: 4px; }
.input-centered { text-align: center; font-weight: 600; }
.input-phone-country { padding: 12px 12px; }
.input-phone-number { font-weight: 600; }
.help-text { color: #6b7280; font-size: 12px; display: block; margin-top: 6px; padding-left: 4px; }
.phone-country-col { padding-right: 6px; }
.phone-area-col { padding-left: 3px; padding-right: 3px; }
.phone-number-col { padding-left: 6px; }
.info-box { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); border-radius: 10px; padding: 14px 16px; border-left: 4px solid #06b6d4; }
.info-box-flex { display: flex; align-items: start; gap: 10px; }
.icon-info { color: #0891b2; font-size: 16px; margin-top: 2px; }
.info-text { color: #164e63; font-size: 12px; line-height: 1.5; font-weight: 500; }
    .payment-label {
        cursor: pointer;
        position: relative;
        display: block;
        margin: 0;
    }

    .payment-radio {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .payment-option {
        background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        padding: 18px 20px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        margin-top: 10px;
    }

    .payment-indicator {
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #10b981 0%, #059669 100%);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .payment-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .payment-left {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .radio-circle {
        width: 24px;
        height: 24px;
        border: 2px solid #d1d5db;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 14px;
        transition: all 0.3s;
        background: #fff;
    }

    .radio-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #10b981;
        transform: scale(0);
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .payment-info {
        flex: 1;
    }

    .payment-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 4px;
    }

    .payment-name {
        font-size: 16px;
        font-weight: 600;
        color: #111827;
    }

    .discount-badge {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

    .discount-icon {
        font-size: 9px;
        margin-right: 2px;
    }

    .discount-details {
        margin-top: 8px;
        padding: 10px 12px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border-radius: 8px;
        border-left: 3px solid #f59e0b;
    }

    .discount-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .discount-label {
        color: #92400e;
        font-size: 13px;
        font-weight: 600;
    }

    .discount-tag-icon {
        margin-right: 6px;
    }

    .discount-total {
        color: #92400e;
        font-size: 18px;
        font-weight: 700;
    }

    .discount-message {
        color: #b45309;
        font-size: 11px;
        display: block;
        margin-top: 4px;
    }

    .discount-info-icon {
        margin-right: 4px;
    }

    .payment-check {
        margin-left: 12px;
    }

    .check-icon {
        color: #10b981;
        font-size: 24px;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .invalid-feedback {
        display: none;
        color: #ef4444;
        font-size: 13px;
        margin-top: 6px;
        padding-left: 20px;
    }

    .error-icon {
        margin-right: 4px;
    }

    input[name="payment_method"]:checked + .payment-option {
        border-color: #10b981 !important;
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    }
    
    input[name="payment_method"]:checked + .payment-option .payment-indicator {
        opacity: 1 !important;
    }
    
    input[name="payment_method"]:checked + .payment-option .check-icon {
        opacity: 1 !important;
    }
    
    input[name="payment_method"]:checked + .payment-option .radio-circle {
        border-color: #10b981 !important;
    }
    
    input[name="payment_method"]:checked + .payment-option .radio-dot {
        transform: scale(1) !important;
    }

    .terms-container {
        margin-bottom: 20px;
    }

    .terms-checkbox-wrapper {
        padding-left: 0;
    }
    .terms-checkbox-wrapper.is-invalid #terms_label {
        border-color: #ef4444;
        background: #fef2f2;
    }

    .terms-label {
        display: flex;
        align-items: start;
        cursor: pointer;
        padding: 16px;
        background: #f9fafb;
        border-radius: 10px;
        border: 2px solid #e5e7eb;
        transition: all 0.3s;
    }

    .terms-label:hover {
        border-color: #10b981;
        background: #f0fdf4;
    }

    .terms-checkbox-container {
        position: relative;
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-right: 12px;
        margin-top: 2px;
    }

    .terms-checkbox-container.is-invalid {
        border-color: #ef4444;
        background: #fef2f2;
    }   

    .terms-checkbox-input {
        position: absolute;
        opacity: 0;
        width: 20px;
        height: 20px;
        cursor: pointer;
        z-index: 2;
    }

    .terms-checkbox-visual {
        width: 20px;
        height: 20px;
        border: 2px solid #d1d5db;
        border-radius: 4px;
        background: #fff;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
    }

    .terms-checkbox-input:checked ~ .terms-checkbox-visual {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border-color: #10b981;
    }

    .terms-checkbox-input.is-invalid ~ .terms-checkbox-visual {
        border-color: #ef4444;
    }

    .terms-checkbox-check {
        color: #fff;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .terms-checkbox-input:checked ~ .terms-checkbox-visual .terms-checkbox-check {
        opacity: 1;
    }

    .terms-text {
        color: #374151;
        font-size: 14px;
        line-height: 1.6;
        flex: 1;
    }

    .terms-icon {
        color: #10b981;
        margin-right: 4px;
    }

    .terms-link {
        color: #10b981;
        font-weight: 600;
        text-decoration: underline;
    }

    .terms-error {
        color: #ef4444;
        font-size: 13px;
        margin-top: 8px;
        padding-left: 4px;
        display: none;
    }

    .terms-error.show {
        display: block;
    }

    .terms-error-icon {
        margin-right: 4px;
    }