/* NAPOLES Design System — Frozen Lake · Booking & Forms */

/* ============================================================
   RECOVERY BANNER
   ============================================================ */
.recovery-banner {
    background: var(--c-bg-alt);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--navy);
    border-radius: 2px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto var(--s-lg);
}

.recovery-banner i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-recover {
    background: var(--navy);
    color: var(--snow);
    border: none;
    border-radius: 2px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-left: 8px;
    transition: all var(--t-fast);
}

.btn-recover:hover {
    background: var(--c-bg-darker);
    box-shadow: var(--shadow-glow-sm);
}

/* ============================================================
   INPUT ERROR STATE
   ============================================================ */
.form-control.input-error {
    border-color: var(--c-error) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* ============================================================
   SUCCESS CARD
   ============================================================ */
.success-card {
    text-align: center;
    padding: var(--s-4xl) var(--s-xl);
}

.success-icon {
    font-size: 5rem;
    color: var(--c-success);
    margin-bottom: var(--s-lg);
    filter: drop-shadow(0 0 20px rgba(39, 174, 96, 0.4));
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 16px rgba(39, 174, 96, 0.35));
    }

    50% {
        filter: drop-shadow(0 0 32px rgba(39, 174, 96, 0.65));
    }
}

.success-ref {
    display: inline-block;
    background: var(--c-primary-surface);
    border: 1px solid var(--c-primary-ghost);
    color: var(--c-primary-dark);
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: var(--r-pill);
    margin-bottom: var(--s-md);
}

.success-details {
    background: var(--c-bg-alt);
    border: 1px solid rgba(0, 158, 255, 0.08);
    border-radius: var(--r-xl);
    padding: var(--s-lg);
    margin: var(--s-xl) auto;
    max-width: 340px;
    text-align: left;
}

.sdet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
    color: var(--c-text-secondary);
    font-size: 0.95rem;
}

.sdet-row:last-child {
    border-bottom: none;
}

.sdet-row i {
    color: var(--gold-500);
    font-size: 1.1rem;
}

.sdet-row span {
    font-weight: 600;
    color: var(--c-text-primary);
}

.success-note {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--s-lg);
    padding: 12px;
    background: rgba(12, 8, 0, 0.4);
    border-radius: var(--r-md);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.success-note i {
    color: var(--gold-600);
}

/* ============================================================
   BOOKING PROGRESS
   ============================================================ */
.booking-section {
    padding-top: var(--s-xl)
}

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-3xl);
    padding: 0 var(--s-xl)
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-sm);
    flex-shrink: 0
}

.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-full);
    background: var(--c-bg-surface);
    border: 2px solid var(--border-subtle);
    font-family: var(--f-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-text-muted);
    transition: all var(--t-normal)
}

.progress-step.active .step-circle {
    background: var(--g-primary);
    border-color: var(--c-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.progress-step.completed .step-circle {
    background: var(--c-success);
    border-color: var(--c-success);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: var(--c-primary);
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: var(--c-success);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-subtle);
    margin: 0 var(--s-sm);
    margin-bottom: 24px;
    max-width: 100px
}

/* ============================================================
   STEP CARDS
   ============================================================ */
.booking-step {
    display: none
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.4s ease
}

.step-card {
    background: var(--color-sand-card);
    border: 1px solid var(--border-card);
    border-radius: var(--r-lg);
    padding: var(--s-2xl);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-md)
}

.step-card:focus-within {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-glow-card)
}

.step-card h2 {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    font-size: 1.5rem;
    margin-bottom: var(--s-xl);
    padding-bottom: var(--s-lg);
    border-bottom: 1px solid var(--border-subtle)
}

.step-card h2 i {
    color: var(--gold-400)
}

.step-desc {
    color: var(--c-text-secondary);
    margin-bottom: var(--s-xl)
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--s-2xl);
    padding-top: var(--s-xl);
    border-top: 1px solid var(--border-subtle)
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl)
}

/* ============================================================
   FORMS — Dark with gold focus
   ============================================================ */
.form-group {
    margin-bottom: var(--s-lg)
}

.form-group label {
    display: block;
    font-family: var(--f-heading);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--s-sm);
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid rgba(0, 158, 255, 0.12);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: 0.95rem;
    transition: all var(--t-normal);
    appearance: none;
    -webkit-appearance: none;
}

/* Neutralize autofill background color */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: var(--c-text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control::placeholder {
    color: var(--c-text-muted)
}

.form-control:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 255, 0.12);
}

.form-control:disabled {
    opacity: 0.4;
    cursor: not-allowed
}

.form-hint {
    display: block;
    margin-top: var(--s-xs);
    font-size: 0.8rem;
    color: var(--c-text-muted)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-md)
}

.input-group {
    display: flex;
    gap: var(--s-sm)
}

.input-group .form-control {
    flex: 1
}

.input-group .btn {
    white-space: nowrap
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4A017' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem
}

/* ============================================================
   PRICE PANEL
   ============================================================ */
.price-panel {
    background: var(--color-sand-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--r-luxury);
    padding: var(--s-xl)
}

.price-panel h3 {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 1.1rem;
    margin-bottom: var(--s-lg);
    color: var(--c-text-primary)
}

.price-panel h3 i {
    color: var(--gold-400)
}

.price-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-2xl) 0;
    color: var(--c-text-muted);
    text-align: center
}

.price-empty i {
    font-size: 2.5rem
}

.price-breakdown {
    margin-bottom: var(--s-lg)
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-sm) 0;
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    border-bottom: 1px solid var(--border-subtle)
}

.price-hour {
    font-weight: 500;
    color: var(--c-text-primary)
}

.price-type {
    font-size: 0.8rem;
    color: var(--c-text-muted)
}

.price-amount {
    font-weight: 600;
    color: var(--c-text-primary)
}

.price-total {
    padding-top: var(--s-md);
    border-top: 2px solid var(--border-gold)
}

.price-total .price-row {
    border-bottom: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text-primary)
}

.price-value {
    font-family: var(--f-heading);
    font-size: 1.3rem;
    font-weight: 700
}

.price-advance {
    margin-top: var(--s-sm)
}

.price-value-advance {
    font-family: var(--f-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-success);
}

/* ============================================================
   LOCATION SELECTION (New Step 0.5)
   ============================================================ */
.location-selection-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
    margin: var(--s-xl) 0;
}

@media (max-width: 600px) {
    .location-selection-wrapper {
        grid-template-columns: 1fr;
    }
}

.location-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    display: flex;
    align-items: center;
    gap: var(--s-lg);
    cursor: pointer;
    transition: all var(--t-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.location-card:hover {
    border-color: var(--c-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.location-card.selected {
    border-color: var(--c-primary);
    background: rgba(0, 158, 255, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 158, 255, 0.1);
}

.location-card-icon {
    width: 56px;
    height: 56px;
    background: var(--c-bg-alt);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy);
    transition: all var(--t-normal);
}

.location-card:hover .location-card-icon,
.location-card.selected .location-card-icon {
    background: var(--c-primary);
    color: #FFFFFF;
}

.location-card-content h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-family: var(--f-heading);
    color: var(--navy);
}

.location-card-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.location-card-check {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
    color: var(--c-primary);
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--t-normal);
}

.location-card.selected .location-card-check {
    opacity: 1;
    transform: scale(1);
}

/* ============================================================
   SLOT CARDS SYSTEM (New UI)
   ============================================================ */
.step-card--wide {
    max-width: 900px;
    margin: 0 auto;
}

.booking-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-xl);
    margin-top: var(--s-lg);
    align-items: flex-start;
}

@media (max-width: 768px) {
    .booking-grid-new {
        grid-template-columns: 1fr;
    }
}

.booking-col-calendar .col-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-heading);
    font-weight: 600;
    margin-bottom: var(--s-md);
    color: var(--c-text-primary);
    font-size: 1.15rem;
}

.booking-col-calendar .col-label i {
    color: var(--gold-500);
}

.slot-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    background: var(--color-sand-dark);
    border: 1px dashed var(--border-card);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    text-align: center;
    color: var(--c-text-secondary);
}

.slot-empty i {
    font-size: 3rem;
    color: var(--gold-700);
    margin-bottom: var(--s-md);
    opacity: 0.5;
}

.slot-date-title {
    font-family: var(--f-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-400);
    margin-bottom: var(--s-lg);
    padding-bottom: var(--s-sm);
    border-bottom: 1px solid var(--border-light);
}

/* Slot Card styling */
.slot-card {
    background: var(--color-sand-card);
    border: 1px solid var(--border-card);
    border-radius: var(--r-luxury);
    padding: var(--s-md);
    margin-bottom: var(--s-md);
    cursor: pointer;
    transition: all var(--t-fast);
    position: relative;
    overflow: hidden;
}

.slot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px transparent;
    pointer-events: none;
    transition: all var(--t-fast);
}

.slot-card:hover:not(.unavailable) {
    background: rgba(184, 154, 90, 0.05);
    border-color: var(--gold-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.slot-card.active {
    background: rgba(184, 154, 90, 0.1);
    border-color: var(--gold-400);
}

.slot-card.active::before {
    box-shadow: inset 0 0 0 1px var(--gold-500);
}

.slot-card__header {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    margin-bottom: var(--s-sm);
}

.slot-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-full);
    background: var(--c-primary-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c-primary);
    flex-shrink: 0;
}

.slot-card__icon--evening {
    background: var(--c-primary-surface);
    color: var(--c-primary-dark);
}

.slot-card__info {
    flex: 1;
}

.slot-card__name {
    display: block;
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--c-text-primary);
}

.slot-card__time {
    display: block;
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    margin-top: 2px;
}

.slot-card__price-wrap {
    text-align: right;
}

.slot-card__price {
    display: block;
    font-family: var(--f-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--c-primary);
}

.slot-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(184, 154, 90, 0.2);
    color: var(--gold-300);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.slot-card__badge--eve {
    background: rgba(142, 68, 173, 0.2);
    color: #d2b4de;
}

.slot-card__body {
    padding-left: calc(48px + var(--s-md));
}

.slot-card__desc {
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

.slot-card.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
    border-color: #333;
}

.slot-card__unavailable {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-text-secondary);
    z-index: 2;
}

/* Configurator Seara */
.slot-evening-config {
    margin-top: var(--s-md);
    padding-top: var(--s-md);
    border-top: 1px dashed var(--border-light);
    animation: fadeIn var(--t-fast) ease-out;
}

.config-row {
    display: flex;
    gap: var(--s-md);
    margin-bottom: var(--s-md);
}

.config-group {
    flex: 1;
}

.config-group label {
    display: block;
    font-family: var(--f-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control--sm {
    height: 40px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.config-price-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gold-500);
    font-size: 0.95rem;
    padding: 8px 12px;
    background: rgba(184, 154, 90, 0.1);
    border-radius: var(--r-md);
}

/* Price Summary Box */
.price-summary-box {
    background: rgba(134, 239, 172, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 6px;
    padding: var(--s-lg);
    margin-top: var(--s-md);
    animation: fadeInUp var(--t-normal) ease-out;
}

.psb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--s-sm);
    margin-bottom: var(--s-sm);
    border-bottom: 1px solid rgba(109, 129, 150, 0.1);
    font-size: 0.95rem;
}

.psb-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.psb-label {
    color: var(--slate, #6D8196);
    font-weight: 500;
}

.psb-value {
    font-weight: 600;
    color: var(--navy, #000080);
}

.psb-total {
    font-size: 1.15rem;
}

.psb-total .psb-value {
    color: var(--navy, #000080);
    font-family: var(--f-heading);
}

.psb-advance {
    background: rgba(134, 239, 172, 0.12);
    padding: 12px !important;
    border-radius: 4px;
    margin-top: var(--s-sm);
}

.psb-advance .psb-value.highlight {
    color: #16a34a;
    font-size: 1.2rem;
    font-family: var(--f-heading);
}

/* ============================================================
   OTP
   ============================================================ */
.otp-sent-msg {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-sm) 0;
    background: none;
    border: none;
    border-radius: 2px;
    color: var(--c-text-primary);
    margin-bottom: var(--s-xl)
}

.otp-sent-msg i {
    color: var(--c-success);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px rgba(39, 174, 96, 0.4));
}

.otp-sent-msg span {
    color: var(--c-text-primary);
    font-weight: 600;
}

.otp-verification-wrapper {
    display: flex;
    align-items: stretch;
    gap: var(--s-md);
    margin: var(--s-lg) 0;
    height: 56px;
}

.otp-input-group {
    display: flex;
    align-items: stretch;
    gap: var(--s-xs);
}

.otp-digit {
    width: 46px;
    height: 100% !important;
    text-align: center;
    font-family: var(--f-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: #FFFFFF;
    border: 1px solid rgba(0, 31, 63, 0.15);
    border-radius: var(--r-md);
    color: var(--color-obsidian);
    transition: all var(--t-fast);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-digit:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(184, 154, 90, 0.15), var(--shadow-glow-sm)
}

.btn-otp-verify {
    flex: 1;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    letter-spacing: 0.12em;
}

.otp-separator {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--c-text-muted);
    padding: 0 var(--s-xs)
}

.otp-timer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--c-text-secondary)
}

.otp-timer__status {
    margin-bottom: 6px;
}

.otp-timer__help {
    font-size: 0.85rem;
    opacity: 0.8;
}

.otp-timer span {
    font-weight: 700;
    color: var(--gold-400);
    font-family: var(--f-heading)
}

.btn-inline-link {
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    color: var(--c-text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color var(--t-fast);
}

.btn-inline-link:hover {
    color: var(--gold-400);
}

.otp-resend-wrap {
    text-align: center;
    margin-bottom: var(--s-lg);
}

/* ============================================================
   TERMS SCROLL
   ============================================================ */
.terms-scroll-container {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    background: var(--color-sand-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--r-md);
    padding: var(--s-xl);
    margin-bottom: var(--s-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent
}

.terms-scroll-container::-webkit-scrollbar {
    width: 6px
}

.terms-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gold-600);
    border-radius: 3px
}

.terms-scroll-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--s-lg);
    color: var(--gold-400)
}

.terms-scroll-content p {
    color: var(--c-text-secondary);
    margin-bottom: var(--s-md);
    line-height: 1.8;
    font-size: 0.95rem
}

.terms-scroll-content p strong {
    color: var(--gold-400)
}

.terms-scroll-indicator {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-sm);
    padding: var(--s-md);
    background: linear-gradient(0deg, rgba(8, 6, 0, 0.95) 50%, transparent 100%);
    color: var(--gold-400);
    font-size: 0.85rem;
    animation: bounce 2s ease infinite;
    transition: opacity var(--t-normal)
}

.terms-scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.terms-accept {
    margin-bottom: var(--s-md)
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-md);
    border-radius: var(--r-md);
    cursor: not-allowed;
    opacity: 0.5;
    transition: all var(--t-normal)
}

.checkbox-container.enabled {
    cursor: pointer;
    opacity: 1;
    background: rgba(184, 154, 90, 0.05);
    border: 1px solid var(--border-gold)
}

.checkbox-container input[type="checkbox"] {
    display: none
}

.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-card);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    transition: all var(--t-fast)
}

.checkbox-container input:checked+.checkmark {
    background: var(--gold-500);
    border-color: var(--gold-400);
    box-shadow: 0 0 8px rgba(184, 154, 90, 0.4)
}

.checkbox-container input:checked+.checkmark::after {
    content: '✓';
    color: #0A0600;
    font-size: 0.8rem;
    font-weight: bold
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--c-text-secondary)
}

/* ============================================================
   BOOKING SUMMARY
   ============================================================ */
.booking-summary {
    background: var(--color-sand-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--r-luxury);
    padding: var(--s-xl);
    margin-bottom: var(--s-xl)
}

.booking-summary h3 {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    margin-bottom: var(--s-lg);
    font-size: 1.1rem
}

.booking-summary h3 i {
    color: var(--gold-400)
}

.summary-grid {
    display: grid;
    gap: var(--s-sm)
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-sm) 0;
    border-bottom: 1px solid var(--border-subtle)
}

.summary-label {
    color: var(--c-text-secondary)
}

.summary-value {
    font-weight: 600;
    color: var(--c-text-primary)
}

.summary-total {
    border-top: 2px solid var(--border-gold);
    margin-top: var(--s-sm);
    padding-top: var(--s-md)
}

.summary-advance .summary-value {
    color: #16a34a;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--f-heading)
}

.client-form {
    margin-bottom: var(--s-xl)
}

.client-form h3 {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    margin-bottom: var(--s-lg);
    font-size: 1.1rem
}

.client-form h3 i {
    color: var(--gold-400)
}

textarea.form-control {
    resize: vertical;
    min-height: 80px
}

.payment-note {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    margin-top: var(--s-lg);
    font-size: 0.85rem;
    color: var(--c-text-muted)
}

.payment-note i {
    color: var(--c-success);
    font-size: 1.1rem
}

/* ============================================================
   SUCCESS
   ============================================================ */
.success-card {
    text-align: center;
    padding: var(--s-3xl) !important
}

.success-icon {
    font-size: 4rem;
    color: var(--c-success);
    margin-bottom: var(--s-xl)
}

.success-card h2 {
    justify-content: center;
    border: none
}

.success-details {
    background: var(--color-sand-dark);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: var(--r-luxury);
    padding: var(--s-xl);
    margin: var(--s-xl) auto;
    max-width: 400px
}

/* ============================================================
   CTA CARD
   ============================================================ */
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2xl);
    background: linear-gradient(135deg, #0C0800 0%, #0A0600 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--r-xl);
    padding: var(--s-3xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-card)
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at right, rgba(184, 154, 90, 0.10) 0%, transparent 60%)
}

.cta-content {
    position: relative;
    z-index: 1
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: var(--s-sm);
    color: var(--c-text-primary)
}

.cta-content p {
    color: var(--c-text-secondary)
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0
}

/* ============================================================
   FOOTER — Dark gold
   ============================================================ */
.footer {
    background: var(--c-bg-secondary);
    padding: var(--s-3xl) 0 var(--s-xl);
    border-top: 1px solid var(--border-card)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-2xl);
    margin-bottom: var(--s-2xl)
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    font-family: var(--f-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--gold-400);
    margin-bottom: var(--s-md)
}

.footer-desc {
    color: var(--c-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: var(--s-md);
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.08em
}

.footer-links {
    list-style: none
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    padding: var(--s-xs) 0;
    font-size: 0.9rem;
    color: var(--c-text-secondary)
}

.footer-links li a {
    color: var(--c-text-secondary);
    transition: color var(--t-fast)
}

.footer-links li a:hover {
    color: var(--gold-300)
}

.footer-links li i {
    color: var(--gold-500);
    font-size: 0.9rem
}

.footer-bottom {
    padding-top: var(--s-xl);
    border-top: 1px solid var(--border-card);
    text-align: center;
    font-size: 0.85rem;
    color: var(--c-text-muted)
}

/* ============================================================
   404
   ============================================================ */
.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.error-page h1 {
    font-size: 8rem;
    font-weight: 800;
    background: var(--g-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(184, 154, 90, 0.3))
}

.error-page p {
    color: var(--c-text-secondary);
    margin-bottom: var(--s-xl);
    font-size: 1.2rem
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification {
    position: fixed;
    top: calc(var(--nav-height) + var(--s-md));
    right: var(--s-lg);
    display: flex;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-md) var(--s-xl);
    border-radius: var(--r-md);
    background: var(--c-bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform var(--t-normal);
    max-width: 400px
}

.notification.show {
    transform: translateX(0)
}

.notification-success {
    border-color: rgba(39, 174, 96, 0.3)
}

.notification-success i {
    color: var(--c-success)
}

.notification-error {
    border-color: rgba(231, 76, 60, 0.3)
}

.notification-error i {
    color: var(--c-error)
}

.notification-info {
    border-color: rgba(52, 152, 219, 0.3)
}

.notification-info i {
    color: var(--c-info)
}

.notification-close {
    background: none;
    border: none;
    color: var(--c-text-muted);
    cursor: pointer;
    padding: var(--s-xs);
    margin-left: var(--s-md)
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1)
}

.animate-in {
    opacity: 1;
    transform: translateY(0)
}

.features-grid .animate-in:nth-child(1) {
    transition-delay: 0s
}

.features-grid .animate-in:nth-child(2) {
    transition-delay: 0.1s
}

.features-grid .animate-in:nth-child(3) {
    transition-delay: 0.2s
}

.features-grid .animate-in:nth-child(4) {
    transition-delay: 0.3s
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(5, 3, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--s-md);
        transform: translateX(100%);
        transition: transform var(--t-normal)
    }

    .nav-menu.active {
        transform: translateX(0)
    }

    .nav-link {
        font-size: 1.2rem;
        padding: var(--s-md) var(--s-xl)
    }

    .features-grid,
    .services-grid,
    .pricing-grid,
    .info-cards {
        grid-template-columns: 1fr
    }

    .location-grid,
    .regulament-content,
    .booking-grid,
    .form-row {
        grid-template-columns: 1fr
    }

    .cta-card {
        flex-direction: column;
        text-align: center
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .booking-progress {
        overflow-x: auto;
        padding: var(--s-md)
    }

    .step-label {
        font-size: 0.7rem
    }

    .otp-digit {
        width: 44px;
        height: 52px
    }

    .hero-actions {
        flex-direction: column;
        align-items: center
    }

    .input-group {
        flex-direction: column
    }

    .step-actions {
        flex-direction: column-reverse;
        gap: var(--s-md)
    }

    .step-actions .btn {
        width: 100%;
        justify-content: center
    }
}

/* ============================================================
   CONSOLIDATED LEGAL SECTIONS (STEP 3)
   ============================================================ */
.legal-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(247, 231, 206, 0.2);
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.legal-title {
    color: var(--gold-400);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--gold-400);
    padding-left: 15px;
    font-family: var(--f-heading);
    font-weight: 700;
}

@keyframes pulse-gold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(184, 154, 90, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(184, 154, 90, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(184, 154, 90, 0); }
}
.pulse-gold {
    animation: pulse-gold 2s infinite;
    border-color: var(--gold-400) !important;
    background: var(--gold-500) !important;
    color: #000 !important;
}

/* ============================================================
   FLATPICKR CUSTOM THEME — Villa Aurum Edition
   ============================================================ */
.flatpickr-calendar {
    background: var(--color-sand-card) !important;
    border: 1px solid var(--border-card) !important;
    box-shadow: var(--shadow-md) !important;
    font-family: var(--f-body) !important;
    border-radius: var(--r-lg) !important;
    padding: var(--s-sm);
    box-sizing: border-box;
    width: 315px !important;
}

.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowTop:before {
    border-bottom-color: var(--c-bg-card) !important;
}

.flatpickr-months {
    background: none !important;
}

.flatpickr-month {
    color: var(--c-text-primary) !important;
    fill: var(--c-text-primary) !important;
}

.flatpickr-current-month {
    font-family: var(--f-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-family: var(--f-heading) !important;
    font-weight: 500 !important;
}

.flatpickr-weekday {
    color: var(--gold-500) !important;
    font-family: var(--f-heading) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flatpickr-day {
    color: var(--c-text-secondary) !important;
    border-radius: var(--r-md) !important;
    font-weight: 500;
}

.flatpickr-day:hover {
    background: rgba(184, 154, 90, 0.1) !important;
    color: var(--c-text-primary) !important;
}

.flatpickr-day.today {
    border-color: var(--gold-400) !important;
    color: var(--c-text-primary) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
    background: var(--g-gold-btn) !important;
    border-color: transparent !important;
    color: #0A0600 !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-glow-sm) !important;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(122, 112, 96, 0.3) !important;
    background: transparent !important;
    cursor: not-allowed !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: var(--gold-400) !important;
    color: var(--gold-400) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--gold-200) !important;
    fill: var(--gold-200) !important;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem
    }

    .step-card {
        padding: var(--s-lg)
    }

    .otp-digit {
        width: 38px;
        height: 46px;
        font-size: 1.2rem
    }
}

/* ============================================================
   PUBLIC CALENDAR GRID
   ============================================================ */
.pub-cal-wrapper {
    background: var(--c-bg-card, #fff);
    border: 1px solid rgba(109,129,150,0.12);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}
.pub-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(109,129,150,0.08);
}
.pub-cal-title {
    font-family: var(--f-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--navy, #000080);
    letter-spacing: -0.02em;
}
.pub-cal-btn {
    background: none;
    border: 1px solid rgba(109,129,150,0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--slate-dark, #4A6178);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}
.pub-cal-btn:hover { background: rgba(0,0,128,0.06); border-color: var(--navy, #000080); color: var(--navy, #000080); }
.pub-cal-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pub-cal-legend {
    display: flex;
    gap: 20px;
    padding: 8px 20px;
    font-size: 0.75rem;
    color: var(--slate, #6D8196);
    border-bottom: 1px solid rgba(109,129,150,0.06);
    flex-wrap: wrap;
}
.leg-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.leg-free   { background: #b6f0d0; border: 1px solid #7dd8a8; }
.leg-booked { background: #d1d5db; border: 1px solid #b0b8bf; }
.leg-today  { background: transparent; border: 2px solid var(--navy, #000080); }
.pub-cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pub-cal-table thead th {
    padding: 8px 4px 6px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate, #6D8196);
    text-align: center;
    border-bottom: 1px solid rgba(109,129,150,0.08);
}
.pub-cal-table td { padding: 4px; vertical-align: top; }
.pub-day-cell {
    border-radius: 6px;
    padding: 5px 4px 4px;
    min-height: 70px;
    position: relative;
    background: rgba(109,129,150,0.03);
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
.pub-day-cell.is-today { border: 2px solid var(--navy, #000080); }
.pub-day-cell.is-past  { opacity: 0.4; pointer-events: none; }
.pub-day-cell.is-empty { background: none; border: none; pointer-events: none; }
.pub-day-nr { font-size: 0.75rem; font-weight: 600; color: var(--slate-dark, #4A6178); margin-bottom: 4px; display: block; }
.pub-slot-badge {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    padding: 4px 7px 4px;
    margin-bottom: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    gap: 1px;
}
.pub-slot-badge .slot-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
.pub-slot-badge .slot-row2 {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.pub-slot-badge .slot-label { font-size: 0.72rem; font-weight: 800; }
.pub-slot-badge .slot-dela  { font-size: 0.6rem; font-weight: 500; opacity: 0.7; margin-left: auto; }
.pub-slot-badge .slot-price { font-size: 0.62rem; font-weight: 500; opacity: 0.85; }
.pub-slot-badge.slot-free {
    background: rgba(134, 239, 172, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.45);
    color: #166534;
}
.pub-slot-badge.slot-free:hover { background: rgba(74, 222, 128, 0.4); border-color: rgba(22, 163, 74, 0.6); transform: scale(1.02); }
.pub-slot-badge.slot-free.selected { background: rgba(22, 163, 74, 0.2); border: 2px solid #16a34a; color: #14532d; box-shadow: 0 0 0 2px rgba(22,163,74,0.15); }
.pub-slot-badge.slot-booked { background: #e5e7eb; border: 1px solid #d1d5db; color: #9ca3af; cursor: not-allowed; pointer-events: none; }
/* ============================================================
   BOOKING TYPE SELECTOR & DEPOSIT NOTICE
   ============================================================ */
.booking-type-selector {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.type-option {
    background: #fff;
    border: 1px solid rgba(0, 31, 112, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.type-option:hover {
    border-color: #001F3F;
    background: rgba(0, 31, 112, 0.03);
}

.type-option.active {
    border-color: #001F3F;
    background: #F0F4F8;
    box-shadow: 0 4px 12px rgba(0, 31, 112, 0.05);
}

.type-option-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 31, 112, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #001F3F;
}

.type-option.active .type-option-icon {
    background: #001F3F;
    color: #F7E7CE;
}

.type-option-text { flex: 1; }
.type-option-text strong { display: block; font-size: 0.9rem; color: #001F3F; }
.type-option-text span { display: block; font-size: 0.75rem; color: #556B82; }

.type-option-check { opacity: 0; color: #001F3F; font-size: 1.2rem; }
.type-option.active .type-option-check { opacity: 1; }

.pub-config-panel { margin-top: 16px; border: 1px solid rgba(109,129,150,0.12); border-radius: 8px; overflow: hidden; animation: slideDown 0.25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.pub-config-inner { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pub-config-top { display: flex; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(109,129,150,0.08); flex-wrap: wrap; }
.pub-config-date { font-family: var(--f-heading); font-size: 1.1rem; font-weight: 400; color: var(--navy, #000080); letter-spacing: -0.02em; }
.pub-config-slots { font-size: 0.78rem; color: var(--slate, #6D8196); font-weight: 500; background: rgba(109,129,150,0.08); padding: 3px 10px; border-radius: 20px; }
.pub-config-block { background: rgba(134,239,172,0.06); border: 1px solid rgba(74,222,128,0.2); border-radius: 6px; padding: 14px 16px; }
.pub-config-block-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; font-size: 0.9rem; color: var(--navy, #000080); flex-wrap: wrap; }
.pub-config-block-header i { font-size: 1.1rem; color: #16a34a; }
.pub-config-time { font-size: 0.75rem; color: var(--slate, #6D8196); font-weight: 400; margin-left: auto; }
.pub-config-base-price { font-size: 0.85rem; color: var(--navy, #000080); font-weight: 700; }
.pub-config-row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pub-config-group { display: flex; flex-direction: column; gap: 4px; }
.pub-config-group label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate, #6D8196); }
.pub-config-price { margin-left: auto; font-family: var(--f-heading); font-size: 1.3rem; font-weight: 600; color: var(--navy, #000080); white-space: nowrap; }

.pub-time-info {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(109, 129, 150, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--navy, #000080);
    display: none;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #16a34a;
}
.pub-time-info i { font-size: 0.9rem; color: #16a34a; }

/* ============================================================
   STRIPE MODAL
   ============================================================ */
.stripe-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 128, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--s-md);
    animation: fadeIn var(--t-fast) ease-out;
}

.stripe-modal.active {
    display: flex;
}

.stripe-modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.15);
}

.stripe-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.stripe-modal-close:hover { color: var(--navy); }

.stripe-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.stripe-modal-header h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.stripe-modal-header p {
    font-size: 14px;
    color: var(--slate);
}

.stripe-modal-header span {
    font-weight: 700;
    color: #16a34a;
}

.stripe-legal-checks {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stripe-legal-checks .checkbox-container {
    margin-bottom: 0;
    padding: 0;
    opacity: 0.85;
    cursor: pointer;
    gap: 8px;
}

.stripe-legal-checks .checkbox-text {
    font-size: 12px;
    color: var(--slate, #64748b);
    font-weight: 500;
}

.stripe-legal-checks .checkbox-text a {
    color: var(--navy, #001F3F);
    text-decoration: underline;
}

.stripe-legal-checks .checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid var(--slate, #64748b);
    border-radius: 2px;
}

#payment-element {
    margin-bottom: 24px;
    min-height: 200px;
}

.stripe-skeleton {
    height: 200px;
    background: #f5f7FA;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 0.9rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

#payment-message {
    color: #df1b41;
    font-size: 14px;
    line-height: 1.4;
    padding: 12px;
    background: #fff5f7;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

#payment-message.hidden { display: none; }

.stripe-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--slate);
    opacity: 0.8;
}

.stripe-footer i { color: #16a34a; font-size: 14px; }

/* ============================================================
   SUCCESS UI ENHANCEMENTS
   ============================================================ */
.success-price-box {
    background: var(--c-bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.spb-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--slate-dark);
}

.spb-row.total {
    border-top: 1px solid var(--border-subtle);
    margin-top: 12px;
    padding-top: 12px;
    font-weight: 700;
    color: var(--navy);
}

.text-success { color: #16a34a !important; }

/* Phone Input Group with Flags */
.phone-input-container {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--border-card, #e2e8f0);
    border-radius: 4px;
    background: #fff !important;
    transition: all 0.2s ease;
    height: 52px; /* Matching standard height in booking flow */
}

.phone-input-container:focus-within {
    border-color: var(--navy, #000080);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.08);
}

.phone-prefix-select {
    width: 95px !important;
    height: 100% !important;
    border: none !important;
    border-right: 1px solid var(--border-card, #e2e8f0) !important;
    padding: 0 24px 0 10px !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--navy, #000080) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px !important;
}

/* Neutralize autofill for the prefix select */
.phone-prefix-select:-webkit-autofill,
.phone-prefix-select:-webkit-autofill:hover, 
.phone-prefix-select:-webkit-autofill:focus,
.phone-prefix-select:autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--navy, #000080) !important;
    caret-color: var(--navy, #000080) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.phone-input-container .form-control {
    border: none !important;
    border-radius: 0 !important;
    flex: 1 !important;
    margin-bottom: 0 !important;
    height: 100% !important;
    background: transparent !important;
    padding: 0 16px !important;
}

/* Neutralize autofill for phone input */
.phone-input-container .form-control:-webkit-autofill,
.phone-input-container .form-control:-webkit-autofill:hover, 
.phone-input-container .form-control:-webkit-autofill:focus,
.phone-input-container .form-control:autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--navy, #000080) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.phone-input-container .form-control:focus {
    box-shadow: none !important;
    background: transparent !important;
}

/* SUCCESS MODAL PREMIUM */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--s-md);
    animation: fadeIn var(--t-fast) ease-out;
}

.booking-modal.active {
    display: flex;
}

.success-modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.success-modal-icon {
    width: 72px;
    height: 72px;
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 24px;
}

.success-modal-ref {
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.success-modal-content h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.success-modal-content p {
    color: var(--slate);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.success-grid-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.success-grid-item span {
    font-size: 11px;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-grid-item strong {
    font-size: 14px;
    color: var(--navy);
}

.success-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.success-modal-footer .btn {
    width: 100%;
}

.success-footer-note {
    font-size: 13px;
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.success-footer-note i {
    color: #16a34a;
}
/* ============================================================
   LEGAL VALIDATION AREA
   ============================================================ */
.legal-validation-area {
    background: var(--c-bg-alt);
    border: 1px solid var(--border-card);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
    margin: var(--s-xl) 0;
    animation: fadeIn var(--t-normal) ease-out;
}

.legal-validation-area h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: var(--s-sm);
}

.legal-validation-area h3 i {
    color: var(--gold-500);
}

.legal-intro {
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    margin-bottom: var(--s-lg);
}

/* Scrollable T&C Box */
.legal-scroll-container {
    height: 180px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--s-xl);
}

.legal-scroll-content {
    height: 100%;
    overflow-y: auto;
    padding: var(--s-lg);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--c-text-primary);
    scrollbar-width: thin;
    scrollbar-color: var(--gold-700) transparent;
}

.legal-scroll-content::-webkit-scrollbar {
    width: 6px;
}

.legal-scroll-content::-webkit-scrollbar-thumb {
    background-color: var(--gold-700);
    border-radius: 10px;
}

.legal-scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255,255,255,0.95));
    padding: 10px;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.legal-scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.legal-scroll-indicator.hidden {
    opacity: 0;
}

/* Custom Checkboxes */
.legal-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--c-text-primary);
    transition: all var(--t-fast);
}

.check-container input {
    display: none;
}

.check-mark {
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border: 2px solid var(--border-card);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all var(--t-fast);
}

.check-container input:checked + .check-mark {
    background: var(--navy);
    border-color: var(--navy);
}

.check-mark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all var(--t-fast);
}

.check-container input:checked + .check-mark::after {
    opacity: 1;
}

.check-text {
    line-height: 1.4;
}

.check-text strong {
    color: var(--navy);
    font-weight: 600;
}

.check-container input:disabled + .check-mark {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--c-bg-darker);
}

.check-container.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   ADD-ONS (OPȚIONALE)
   ============================================================ */
.pub-addons-section {
    animation: fadeInUp 0.5s ease forwards;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.addon-card {
    background: #fff;
    border: 1px solid rgba(0, 31, 63, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.addon-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.05);
}

.addon-card.selected {
    border-color: var(--c-success);
    background: rgba(16, 185, 129, 0.04);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--c-success);
}

.addon-card-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: transparent;
    color: var(--c-success);
    border: 1.5px solid var(--c-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.addon-card.selected .addon-card-check {
    opacity: 1;
    transform: scale(1);
}

.addon-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 31, 63, 0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.addon-card.selected .addon-card-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--c-success);
}

.addon-card-title {
    font-family: var(--f-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
}

.addon-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.addon-card-price {
    font-family: var(--f-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 31, 63, 0.05);
}

.addon-card.selected .addon-card-price {
    color: var(--c-success);
}

@media (max-width: 600px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }
}
