/*!
 * FBZ Booking Wizard – Consolidated CSS
 * Version: 17.3.3-REFINED
 *
 * IMPORTANT (Option A – ultra safe):
 * - This file is a STRUCTURAL consolidation only.
 * - No property-level optimizations were applied.
 * - It preserves the original cascade by concatenating the legacy files in the same order:
 *   1) fbz-booking-wizard.css (legacy)
 *   2) fbz-booking.css (original)
 */

/* =====================================================================
   BEGIN LEGACY: fbz-booking-wizard.css (deprecated, kept for history)
   ===================================================================== */

/* ==========================================================================
   FERBEATZ BOOKING WIZARD - v17.6.2 VINYL PROGRESS BAR
   ========================================================================== */

/* v17.6.2: Vinyl Progress Bar */
.fbz-wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
    position: relative;
}

/* Line connecting vinyls */
.fbz-wizard-progress::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #334155;
    z-index: 0;
    transition: all 0.5s ease;
}

.fbz-wizard-progress.step-2::before {
    background: linear-gradient(90deg, #fdeb19 0%, #fdeb19 33%, #334155 33%, #334155 100%);
}

.fbz-wizard-progress.step-3::before {
    background: linear-gradient(90deg, #fdeb19 0%, #fdeb19 66%, #334155 66%, #334155 100%);
}

.fbz-wizard-progress.step-4::before {
    background: linear-gradient(90deg, #fdeb19 0%, #fdeb19 100%);
}

.fbz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Vinyl disc base */
.fbz-step-circle.fbz-vinyl {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #1a1e2e 0%, #0f1320 60%, #1a1e2e 100%);
    border: 2px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* Vinyl grooves */
.fbz-vinyl-groove {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.2);
    pointer-events: none;
}
.fbz-vinyl-groove::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.15);
}
.fbz-vinyl-groove::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.1);
}

/* Vinyl center label */
.fbz-vinyl-label {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    transition: all 0.3s ease;
}

/* ---- ACTIVE vinyl (DJ Scratch style) ---- */
.fbz-step.is-active .fbz-step-circle.fbz-vinyl {
    border-color: #fdeb19;
    box-shadow: 0 0 20px rgba(253,235,25,0.35), 0 4px 16px rgba(0,0,0,0.4);
    animation: vinylScratch 1.2s ease-in-out infinite;
}
.fbz-step.is-active .fbz-vinyl-groove {
    border-color: rgba(253,235,25,0.25);
}
.fbz-step.is-active .fbz-vinyl-groove::before {
    border-color: rgba(253,235,25,0.15);
}
.fbz-step.is-active .fbz-vinyl-groove::after {
    border-color: rgba(253,235,25,0.1);
}
.fbz-step.is-active .fbz-vinyl-label {
    background: #fdeb19;
    border-color: #fdeb19;
    color: #0f172a;
    box-shadow: 0 0 8px rgba(253,235,25,0.5);
}
/* Scratch marks on active vinyl */
.fbz-step.is-active .fbz-step-circle.fbz-vinyl::after {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 2px; height: 12px;
    background: rgba(253,235,25,0.15);
    transform: translateX(-50%) rotate(25deg);
    border-radius: 1px;
    z-index: 1;
}
.fbz-step.is-active .fbz-step-circle.fbz-vinyl::before {
    content: '';
    position: absolute;
    bottom: 6px; right: 10px;
    width: 2px; height: 10px;
    background: rgba(253,235,25,0.1);
    transform: rotate(-15deg);
    border-radius: 1px;
    z-index: 1;
}

/* ---- COMPLETED vinyl (yellow brand, no spin) ---- */
.fbz-step.is-completed .fbz-step-circle.fbz-vinyl {
    border-color: #fdeb19;
    background: radial-gradient(circle at 50% 50%, #2a2500 0%, #0f1320 60%, #2a2500 100%);
    box-shadow: 0 0 12px rgba(253,235,25,0.2);
}
.fbz-step.is-completed .fbz-vinyl-groove {
    border-color: rgba(253,235,25,0.2);
}
.fbz-step.is-completed .fbz-vinyl-groove::before {
    border-color: rgba(253,235,25,0.15);
}
.fbz-step.is-completed .fbz-vinyl-label {
    background: #fdeb19;
    border-color: #fdeb19;
    color: #0f172a;
}

/* v17.6.4: Tonearm removed - DJ scratch style doesn't use tonearm */

/* DJ Scratch animation: back-and-forth wobble */
@keyframes vinylScratch {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(25deg); }
    30%  { transform: rotate(-15deg); }
    50%  { transform: rotate(20deg); }
    70%  { transform: rotate(-10deg); }
    85%  { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}
/* Keep label steady during scratch */
.fbz-step.is-active .fbz-vinyl-label {
    animation: vinylScratchReverse 1.2s ease-in-out infinite;
}
@keyframes vinylScratchReverse {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(-25deg); }
    30%  { transform: rotate(15deg); }
    50%  { transform: rotate(-20deg); }
    70%  { transform: rotate(10deg); }
    85%  { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* Legacy circle compatibility (non-vinyl fallback) */
.fbz-step-circle:not(.fbz-vinyl) {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e293b;
    border: 3px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fbz-step.is-active .fbz-step-circle:not(.fbz-vinyl) {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fdeb19 0%, #f59e0b 100%);
    border-color: #fdeb19;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(253,235,25,0.4);
    transform: scale(1.1);
}

.fbz-step.is-completed .fbz-step-circle:not(.fbz-vinyl) {
    background: #fdeb19;
    border-color: #fdeb19;
    color: #0f172a;
}

.fbz-step.is-completed .fbz-step-circle:not(.fbz-vinyl)::after {
    content: '✓';
    font-size: 24px;
}

.fbz-step-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.fbz-step.is-active .fbz-step-label {
    color: #fdeb19;
    font-size: 13px;
}

.fbz-step.is-completed .fbz-step-label {
    color: #fdeb19;
}

/* Modal improvements */
.fbz-modal-panel {
    max-width: 1100px !important;
    width: 95% !important;
}

.fbz-modal-body {
    padding: 40px !important;
}

/* Panes better spacing */
.fbz-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.fbz-pane.is-active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form field improvements */
.fbz-field {
    margin-bottom: 24px;
}

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

.fbz-field input[type="text"],
.fbz-field input[type="email"],
.fbz-field input[type="tel"],
.fbz-field input[type="number"],
.fbz-field select,
.fbz-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 8px;
    color: #f8fafc;
    font-size: 15px;
    transition: all 0.2s ease;
}

.fbz-field input:focus,
.fbz-field select:focus,
.fbz-field textarea:focus {
    outline: none;
    border-color: #fdeb19;
    box-shadow: 0 0 0 3px rgba(253,235,25,0.1);
}

/* Verification section */
.fbz-verify-code {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding: 20px;
    background: #0f172a;
    border-radius: 8px;
    border: 1px solid #334155;
}

/* Email delay notice (UX text) */
.fbz-email-notice {
    margin-top: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.fbz-email-notice small {
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
}

/* Email typo warning (inline) */
.fbz-typo-warning {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 6px;
    font-size: 14px;
    color: #fca5a5;
    animation: fadeIn 0.3s ease;
}

.fbz-typo-warning strong {
    color: #fdeb19;
}

.fbz-typo-warning .fbz-typo-fix {
    color: #fdeb19;
    text-decoration: underline;
    margin-left: 8px;
    cursor: pointer;
}

.fbz-typo-warning .fbz-typo-fix:hover {
    color: #fef08a;
}

/* Email mismatch error (inline) */
.fbz-email-mismatch {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 6px;
    font-size: 14px;
    color: #fca5a5;
    animation: fadeIn 0.3s ease;
}

/* Email success (PSE style - green) */
.fbz-email-success {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 6px;
    font-size: 14px;
    color: #86efac;
    animation: fadeIn 0.3s ease;
}

/* Email format error (red - no fix button) */
.fbz-email-error {
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 6px;
    font-size: 14px;
    color: #fca5a5;
    animation: fadeIn 0.3s ease;
}

/* Premium notification overlay */
.fbz-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.fbz-notification-premium {
    background: linear-gradient(135deg, #1f2440 0%, #2a3050 100%);
    border: 2px solid #fdeb19;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fbz-notification-premium.success {
    border-color: #22c55e;
}

.fbz-notification-premium.error {
    border-color: #ef4444;
}

.fbz-notification-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}

.fbz-notification-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.fbz-notification-message {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.fbz-notification-btn {
    background: #fdeb19;
    color: #1a1d35;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fbz-notification-btn:hover {
    background: #fef08a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 235, 25, 0.3);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pane 1.5 - Waiting screen */
.fbz-pane-waiting {
    min-height: 500px;
}

.fbz-actions-top {
    margin-bottom: 20px;
}

.fbz-btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Waiting Screen (Step 1.5) - CASSETTE TAPE DESIGN */
.fbz-waiting-screen {
    margin: 30px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    border: 2px solid #334155;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.fbz-cassette-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Cassette Tape Body */
.fbz-cassette {
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    border: 3px solid #fdeb19;
    box-shadow: 
        0 0 20px rgba(253, 235, 25, 0.3),
        inset 0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Top Label Lines (like cassette labels) */
.fbz-cassette-label {
    height: 30px;
    background: rgba(253, 235, 25, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.fbz-cassette-label-lines {
    display: flex;
    gap: 8px;
    width: 100%;
}

.fbz-cassette-label-lines span {
    flex: 1;
    height: 2px;
    background: rgba(253, 235, 25, 0.3);
    border-radius: 1px;
}

/* Retro Stripe – v17.6.2: Brand-yellow solid (replaces multicolor) */
.fbz-cassette-stripe {
    height: 20px;
    background: linear-gradient(
        90deg,
        rgba(253, 235, 25, 0.6) 0%,
        #fdeb19 30%,
        #f5c518 60%,
        rgba(253, 235, 25, 0.6) 100%
    );
    border-radius: 3px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(253,235,25,0.15);
}

/* Window with reels */
.fbz-cassette-window {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    position: relative;
}

/* Tape reels (spinning) */
.fbz-cassette-reel {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1e293b;
    border: 3px solid #fdeb19;
    position: relative;
    box-shadow: 0 0 10px rgba(253, 235, 25, 0.5);
    animation: spin 2s linear infinite;
}

.fbz-cassette-reel::before,
.fbz-cassette-reel::after {
    content: '';
    position: absolute;
    background: #fdeb19;
    opacity: 0.6;
}

.fbz-cassette-reel::before {
    width: 80%;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fbz-cassette-reel::after {
    width: 2px;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fbz-reel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid #fdeb19;
}

/* Visible tape moving between reels */
.fbz-cassette-tape-visible {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, 
        #475569 0%, 
        #64748b 25%, 
        #475569 50%, 
        #64748b 75%, 
        #475569 100%
    );
    background-size: 20px 100%;
    animation: tapeScroll 1s linear infinite;
    margin: 0 10px;
    border-radius: 2px;
}

@keyframes tapeScroll {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Side label (A or B) */
.fbz-cassette-side-label {
    position: absolute;
    bottom: 10px;
    left: 15px;
    width: 30px;
    height: 30px;
    background: #0f172a;
    border: 2px solid #fdeb19;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #fdeb19;
    box-shadow: 0 0 10px rgba(253, 235, 25, 0.4);
}

.fbz-waiting-text {
    margin-top: 10px;
    font-size: 16px;
    color: #fdeb19;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

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

/* Code Verification (PayPal style) */
.fbz-code-verification {
    margin-top: 30px;
    padding: 30px;
    background: #1f2440;
    border-radius: 12px;
    border: 1px solid #334155;
    text-align: center;
}

.fbz-code-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #fdeb19;
}

.fbz-code-header p {
    margin: 0 0 30px 0;
    color: #94a3b8;
    font-size: 14px;
}

.fbz-code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.fbz-code-inputs input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    border: 2px solid #334155;
    background: #0f172a;
    color: #fdeb19;
    border-radius: 8px;
    transition: all 0.2s;
}

.fbz-code-inputs input:focus {
    outline: none;
    border-color: #fdeb19;
    box-shadow: 0 0 0 3px rgba(253, 235, 25, 0.1);
}

.fbz-btn-block {
    width: 100%;
    margin-bottom: 15px;
}

.fbz-code-resend {
    margin-top: 15px;
}

.fbz-code-resend a {
    color: #fdeb19;
    text-decoration: none;
    font-size: 14px;
}

.fbz-code-resend a:hover {
    text-decoration: underline;
}

.fbz-code-resend a.fbz-resend-disabled {
    color: #64748b;
    cursor: not-allowed;
    pointer-events: none;
}

/* Premium verified animation */
.fbz-verified-premium {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.fbz-verified-icon {
    display: inline-block;
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fbz-verified-icon svg {
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.3));
}

.fbz-check-circle {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawCircle 0.6s ease forwards;
}

.fbz-check-mark {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.4s ease forwards 0.3s;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fbz-verified-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 900;
    color: #22c55e;
    letter-spacing: -0.5px;
}

.fbz-verified-subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 15px;
}

.fbz-verified {
    display: none;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    font-weight: 600;
    margin-top: 12px;
    font-size: 15px;
}

.fbz-verified::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
}

/* Buttons improvements */
.fbz-wizard-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: space-between;
}

button[data-action] {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button[data-action="next"],
button[data-action="submit"] {
    background: linear-gradient(135deg, #fdeb19 0%, #f59e0b 100%);
    color: #0f172a;
}

button[data-action="next"]:hover,
button[data-action="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253,235,25,0.3);
}

button[data-action="next"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

button[data-action="prev"] {
    background: #334155;
    color: #f8fafc;
}

button[data-action="prev"]:hover {
    background: #475569;
}

button[data-action="send-code"],
button[data-action="verify-code"] {
    padding: 10px 24px;
    font-size: 14px;
}

/* Loading overlay */
.fbz-wizard-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.fbz-wizard-loading.is-active {
    display: flex;
}

.fbz-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #334155;
    border-top-color: #fdeb19;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast notifications */
.fbz-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: #1e293b;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.fbz-toast.error {
    border-left: 4px solid #ef4444;
}

.fbz-toast.ok {
    border-left: 4px solid #22c55e;
}

.fbz-toast-message {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .fbz-modal-body {
        padding: 24px !important;
    }
    
    .fbz-wizard-progress {
        padding: 0 10px;
    }
    
    .fbz-step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .fbz-step.is-active .fbz-step-circle {
        width: 44px;
        height: 44px;
    }
    
    .fbz-step-label {
        font-size: 11px;
    }
    
    .fbz-wizard-actions {
        flex-direction: column-reverse;
    }
    
    button[data-action] {
        width: 100%;
    }
}

/* =====================================================================
   END LEGACY: fbz-booking-wizard.css
   ===================================================================== */

/* =====================================================================
   BEGIN ORIGINAL: fbz-booking.css (pre-consolidation)
   ===================================================================== */

/*
 * Ferbeatz Booking Wizard - Premium Design v16.9.0 - Final Polish
 * Based on approved visual reference
 */

/* ═══════════════════════════════════════════════════════════════
   PREMIUM DESIGN VARIABLES (from approved reference)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --fbz-bg: #191d31;
  --fbz-panel: #161b35;
  --fbz-panel-soft: #1c2245;
  --fbz-accent: #fdeb19;
  --fbz-text: #ffffff;
  --fbz-muted: #9aa3c7;
  --fbz-radius: 14px;
  --fbz-input-bg: #0f1430;
  --fbz-input-border: #2a3270;
  --fbz-label-color: #dfe3ff;
}

/* ═══════════════════════════════════════════════════════════════
   BOOKING SECTION & ROOT
   ═══════════════════════════════════════════════════════════════ */
.fbz-booking-section{
  padding:80px 20px;
  background:radial-gradient(circle at top, #1b2150, #0a0d1a);
}

.fbz-booking-section .fbz-booking-head{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
  margin-bottom:25px;
}

.fbz-booking-section .fbz-booking-kicker{
  letter-spacing:0.15em;
  text-transform:uppercase;
  font-size:12px;
  opacity:0.85;
}

.fbz-booking-section h2{
  font-size:42px;
}

.fbz-booking-root{
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

/* v17.6.3: Wider wizard on desktop (large screens) */
@media (min-width: 1200px) {
  .fbz-booking-root {
    max-width: 1200px;
  }
}
@media (min-width: 1600px) {
  .fbz-booking-root {
    max-width: 1340px;
  }
}

/* v17.6.2: Currency Selector (pill/segmented) */
.fbz-currency-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 24px;
  padding: 3px;
  border: 1px solid rgba(100,116,139,0.25);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.fbz-currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.fbz-currency-btn:hover {
  color: #e2e8f0;
  background: rgba(253,235,25,0.08);
}
.fbz-currency-btn.is-active {
  background: rgba(253,235,25,0.15);
  color: #fdeb19;
  box-shadow: 0 0 10px rgba(253,235,25,0.15);
}
.fbz-currency-flag {
  font-size: 16px;
  line-height: 1;
}

/* v17.6.2: Cassette transition loader */
.fbz-step-loader {
  display: none;
  position: relative;
  padding: 40px 20px;
  text-align: center;
}
.fbz-step-loader.is-active {
  display: block;
}
.fbz-step-loader .fbz-cassette-container {
  transform: scale(0.75);
  margin: 0 auto;
}

.fbz-booking-card{
  background:var(--fbz-panel);
  border-radius:18px;
  padding:32px;
  box-shadow:0 40px 120px rgba(0,0,0,0.6);
}

.fbz-booking-inner{
  padding:0; /* Remove inner padding, sections handle it */
}

/* ═══════════════════════════════════════════════════════════════
   WIZARD PANES
   ═══════════════════════════════════════════════════════════════ */
.fbz-pane{
  display:none;
}

.fbz-pane.is-active{
  display:block;
}

/* ═══════════════════════════════════════════════════════════════
   STEP HEADERS (Premium hierarchy)
   ═══════════════════════════════════════════════════════════════ */
.fbz-step-header{
  margin-bottom:24px;
}

.fbz-step-header h2{
  margin:0 0 6px;
  font-size:20px;
  font-weight:600;
  color:var(--fbz-text);
}

.fbz-step-sub{
  color:var(--fbz-muted);
  font-size:14px;
  line-height:1.5;
  margin:0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (Premium panel-soft background)
   ═══════════════════════════════════════════════════════════════ */
.fbz-section{
  background:var(--fbz-panel-soft);
  border-radius:var(--fbz-radius);
  padding:24px;
  margin-bottom:28px;
}

.fbz-section:last-of-type{
  margin-bottom:0;
}

.fbz-section-title{
  font-size:15px;
  margin:0 0 18px;
  color:var(--fbz-accent);
  letter-spacing:0.3px;
  font-weight:600;
}

/* ═══════════════════════════════════════════════════════════════
   GRID LAYOUTS (v17.2.5: Name 40% / Phone 60%)
   ═══════════════════════════════════════════════════════════════ */
.fbz-grid-2{
  display:grid;
  grid-template-columns:0.8fr 1.2fr; /* Name 40% / Phone 60% */
  gap:18px;
}

.fbz-grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

@media (max-width:768px){
  .fbz-grid-2,
  .fbz-grid-3{
    grid-template-columns:1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FORM FIELDS (Premium inputs)
   ═══════════════════════════════════════════════════════════════ */
.fbz-field{
  display:flex;
  flex-direction:column;
}

.fbz-field label{
  font-size:13px;
  margin-bottom:6px;
  color:var(--fbz-label-color);
  font-weight:500;
}

.fbz-field input,
.fbz-field select,
.fbz-field textarea{
  width:100%;
  height:44px;
  border-radius:10px;
  border:1px solid var(--fbz-input-border);
  background:var(--fbz-input-bg);
  color:white;
  padding:0 14px;
  font-size:14px;
  transition:all 0.2s ease;
}

.fbz-field textarea{
  height:auto;
  min-height:110px;
  padding:12px 14px;
  resize:vertical;
}

.fbz-field input::placeholder,
.fbz-field textarea::placeholder{
  color:#7f88b5;
}

.fbz-field input:focus,
.fbz-field select:focus,
.fbz-field textarea:focus{
  outline:none;
  border-color:rgba(245,217,10,0.5);
  box-shadow:0 0 0 3px rgba(245,217,10,0.1);
}

.fbz-hint{
  font-size:12px;
  color:var(--fbz-muted);
  margin-top:6px;
  line-height:1.4;
}

/* Error states */
.fbz-error{
  font-size:12px;
  color:#fb7185;
  margin-top:6px;
  display:none;
}

.fbz-field.has-error .fbz-error{
  display:block;
}

.fbz-field.has-error input,
.fbz-field.has-error select,
.fbz-field.has-error textarea{
  border-color:#ef4444;
  background:rgba(251,113,133,0.08);
}

/* Success states */
.fbz-field input.valid,
.fbz-field select.valid{
  border-color:#22c55e;
}

/* Checkbox groups - PREMIUM STYLE with proper grid */
.fbz-checkbox-group{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:8px;
}

@media (max-width:768px){
  .fbz-checkbox-group{
    grid-template-columns:1fr;
  }
}

.fbz-checkbox-label{
  background:var(--fbz-input-bg);
  border:1px solid var(--fbz-input-border);
  border-radius:10px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition:all 0.2s ease;
}

.fbz-checkbox-label:hover{
  border-color:rgba(245,217,10,0.4);
  background:rgba(245,217,10,0.05);
}

.fbz-checkbox-label input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:0;
  cursor:pointer;
  flex-shrink:0;
}

.fbz-checkbox-label span{
  font-size:14px;
  color:var(--fbz-text);
  line-height:1.3;
  flex:1; /* CRITICAL: Ensure text takes available space */
  display:block; /* CRITICAL: Ensure text is visible */
}

.fbz-checkbox-label:has(input:checked){
  border-color:var(--fbz-accent);
  background:rgba(245,217,10,0.1);
}

/* CRITICAL: Override for dynamic fields - ensure visibility */
.fbz-dynamic-fields .fbz-checkbox-group{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:8px;
}

.fbz-dynamic-fields .fbz-checkbox-label{
  display:flex; /* CRITICAL */
  align-items:center;
  gap:10px;
}

.fbz-dynamic-fields .fbz-checkbox-label span{
  display:block; /* CRITICAL */
  font-size:14px;
  color:#ffffff; /* CRITICAL: Explicit color */
  line-height:1.3;
  flex:1;
  opacity:1; /* CRITICAL: Ensure visibility */
  visibility:visible; /* CRITICAL: Ensure visibility */
}

.fbz-dynamic-fields .fbz-checkbox-label input{
  display:block; /* CRITICAL */
  opacity:1; /* CRITICAL */
  visibility:visible; /* CRITICAL */
}

/* Radio groups - same style */
.fbz-radio-group{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  margin-top:8px;
}

@media (max-width:768px){
  .fbz-radio-group{
    grid-template-columns:1fr;
  }
}

.fbz-radio-label{
  background:var(--fbz-input-bg);
  border:1px solid var(--fbz-input-border);
  border-radius:10px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition:all 0.2s ease;
}

.fbz-radio-label:hover{
  border-color:rgba(245,217,10,0.4);
  background:rgba(245,217,10,0.05);
}

.fbz-radio-label input[type="radio"]{
  width:16px;
  height:16px;
  margin:0;
  cursor:pointer;
  flex-shrink:0;
}

.fbz-radio-label span{
  font-size:14px;
  color:var(--fbz-text);
  flex:1; /* CRITICAL: Ensure text takes available space */
  display:block; /* CRITICAL: Ensure text is visible */
}

.fbz-radio-label:has(input:checked){
  border-color:var(--fbz-accent);
  background:rgba(245,217,10,0.1);
}

/* CRITICAL: Override for dynamic fields - ensure visibility */
.fbz-dynamic-fields .fbz-radio-group{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  margin-top:8px;
}

.fbz-dynamic-fields .fbz-radio-label{
  display:flex; /* CRITICAL */
  align-items:center;
  gap:10px;
}

.fbz-dynamic-fields .fbz-radio-label span{
  display:block; /* CRITICAL */
  font-size:14px;
  color:#ffffff; /* CRITICAL: Explicit color */
  line-height:1.3;
  flex:1;
  opacity:1; /* CRITICAL: Ensure visibility */
  visibility:visible; /* CRITICAL: Ensure visibility */
}

.fbz-dynamic-fields .fbz-radio-label input{
  display:block; /* CRITICAL */
  opacity:1; /* CRITICAL */
  visibility:visible; /* CRITICAL */
}

/* ═══════════════════════════════════════════════════════════════
   ACTIONS (Premium button style)
   ═══════════════════════════════════════════════════════════════ */
.fbz-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:24px;
  gap:12px;
}

.fbz-btn{
  background:var(--fbz-accent);
  color:#000;
  border:none;
  border-radius:10px;
  padding:14px 32px;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:all 0.2s ease;
}

.fbz-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(245,217,10,0.3);
}

.fbz-btn:disabled{
  opacity:0.5;
  cursor:not-allowed;
  transform:none;
}

.fbz-btn-outline{
  background:transparent;
  color:var(--fbz-text);
  border:1px solid var(--fbz-input-border);
}

.fbz-btn-outline:hover{
  border-color:rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.05);
}

.fbz-btn-primary{
  /* Already styled by base .fbz-btn */
}

/* ═══════════════════════════════════════════════════════════════
   OLD STYLES - Keep for compatibility
   ═══════════════════════════════════════════════════════════════ */
.fbz-package{grid-column:span 6;border-radius:16px;border:1px solid rgba(255,255,255,0.10);background:rgba(0,0,0,0.16);padding:14px;cursor:pointer;transition:0.25s;}
.fbz-package:hover{border-color:rgba(253,235,25,0.30);transform:translateY(-1px);}
.fbz-package.is-selected{border-color:rgba(253,235,25,0.55);background:rgba(253,235,25,0.06);}
.fbz-package h3{font-size:18px;margin-bottom:6px;}
.fbz-package .meta{font-size:12px;opacity:0.75;display:flex;gap:10px;flex-wrap:wrap;}
.fbz-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,0.12);border-radius:999px;padding:4px 10px;font-size:12px;opacity:0.9;}

/* summary */
.fbz-summary{border-radius:16px;border:1px solid rgba(255,255,255,0.10);background:rgba(0,0,0,0.16);padding:16px;}
.fbz-summary .line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.06);font-size:14px;}
.fbz-summary .line:last-child{border-bottom:none;}
.fbz-summary .total{font-size:18px;font-weight:900;}

/* toast */
.fbz-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:99999;max-width:min(560px, calc(100% - 20px));padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,0.12);background:rgba(0,0,0,0.70);backdrop-filter:blur(10px);color:var(--text-white);display:none;}
.fbz-toast.is-show{display:block;animation:fbzFadeUp 0.22s ease-out;}
@keyframes fbzFadeUp{from{opacity:0;transform:translate(-50%, 10px);}to{opacity:1;transform:translate(-50%, 0);}}

/* mobile */
@media (max-width: 820px){
  .fbz-col-6{grid-column:span 12;}
  .fbz-col-4{grid-column:span 12;}
  .fbz-col-8{grid-column:span 12;}
  .fbz-package{grid-column:span 12;}
  .fbz-booking-section{padding:60px 0;}
  .fbz-booking-section h2{font-size:34px;}
}


/* =========================================
 * v15.2.0 UI Layer (Modal + Waiting + Typo)
 * ========================================= */
.fbz-modal{position:fixed;inset:0;z-index:99999;display:none;}
.fbz-modal.is-open{display:block;}
.fbz-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.65);backdrop-filter:blur(6px);}
.fbz-modal-panel{position:relative;margin:6vh auto;max-width:1100px;background:rgba(15,23,42,0.98);border:1px solid rgba(255,255,255,0.10);border-radius:18px;box-shadow:0 20px 80px rgba(0,0,0,0.5);transform:translateY(10px);opacity:0;transition:all .22s ease;max-height:88vh;overflow:auto;}
.fbz-modal.is-open .fbz-modal-panel{transform:translateY(0);opacity:1;}
.fbz-modal-body{padding:20px;}
.fbz-modal-close{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.06);color:#fff;font-size:22px;line-height:1;cursor:pointer;}
.fbz-modal-close:hover{background:rgba(255,255,255,0.10);}
@media (max-width:768px){
  .fbz-modal-panel{margin:0;max-width:none;border-radius:0;max-height:none;height:100vh;}
  .fbz-modal-body{padding:16px;padding-top:54px;}
  .fbz-modal-close{top:10px;right:10px;}
}

/* Waiting screen */
.fbz-waiting{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,0.92);backdrop-filter:blur(4px);border-radius:16px;z-index:30;}
.fbz-waiting-card{width:min(520px,92%);padding:22px;border:1px solid rgba(255,255,255,0.10);border-radius:16px;background:rgba(255,255,255,0.04);text-align:center;}
.fbz-spinner{width:44px;height:44px;border-radius:999px;border:4px solid rgba(253,235,25,0.25);border-top-color:#fdeb19;margin:0 auto 14px;animation:fbzspin 1s linear infinite;}
@keyframes fbzspin{to{transform:rotate(360deg);}}
.fbz-waiting-msg{font-weight:800;margin-bottom:8px;}
.fbz-waiting-sub{opacity:.85;margin-bottom:14px;}
.fbz-waiting-code{display:flex;flex-direction:column;gap:6px;max-width:240px;margin:0 auto 14px;}
.fbz-waiting-code input{padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.06);color:#fff;text-align:center;font-size:18px;letter-spacing:2px;}
.fbz-waiting-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.fbz-waiting .fbz-btn{min-width:160px;}

/* Typo alert */
.fbz-typo-alert{margin-top:10px;}
.fbz-typo-box{padding:12px 12px;border-radius:14px;border:1px solid rgba(253,235,25,0.35);background:rgba(253,235,25,0.10);}
.fbz-typo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;}
.fbz-typo-actions .fbz-btn{min-width:140px;}

/* Packages UI */
.fbz-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
@media (max-width:768px){.fbz-packages{grid-template-columns:1fr;}}
.fbz-package{display:block;cursor:pointer;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,0.12);background:rgba(255,255,255,0.03);}
.fbz-package input{position:absolute;opacity:0;pointer-events:none;}
.fbz-package-body strong{display:block;margin-bottom:6px;}
.fbz-package-price{display:inline-block;font-weight:800;color:#fdeb19;margin-bottom:8px;}
.fbz-package p{margin:0;opacity:.88;font-size:14px;}
.fbz-package:has(input:checked){border-color:rgba(253,235,25,0.60);background:rgba(253,235,25,0.08);}

/* Summary UI */
.fbz-summary-grid{display:flex;flex-direction:column;gap:10px;}
.fbz-summary-row{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.03);}
.fbz-summary-row.fbz-total{border-color:rgba(253,235,25,0.45);background:rgba(253,235,25,0.06);}
.fbz-warning{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,196,0,0.35);background:rgba(255,196,0,0.10);}

/* Toast */
.fbz-booking-toast{position:absolute;right:14px;bottom:14px;max-width:min(420px,90%);padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,0.12);background:rgba(0,0,0,0.55);backdrop-filter:blur(6px);display:none;}
.fbz-booking-toast[data-type="ok"]{border-color:rgba(34,197,94,0.35);}
.fbz-booking-toast[data-type="error"]{border-color:rgba(239,68,68,0.35);}

/* Dynamic fields - UI ENHANCED */
.fbz-dynamic-fields{
  margin-top:0; /* Remove extra margin, sections handle spacing */
  margin-bottom:0;
  padding-top:0;
  border-top:none; /* Remove border, sections are self-contained */
}

.fbz-dynamic-loading{
  opacity:.8;
  font-size:14px;
  padding:12px 0;
  text-align:center;
}

/* Dynamic fields wrapper - NO extra styling, sections handle it */
.fbz-dynamic-fields-wrapper{
  display:block; /* Let sections handle their own layout */
}

/* Dynamic section - matches premium design */
.fbz-dynamic-fields .fbz-section{
  background:var(--fbz-panel-soft);
  border-radius:var(--fbz-radius);
  padding:24px;
  margin-bottom:28px;
}

.fbz-dynamic-fields .fbz-section:last-child{
  margin-bottom:0;
}

.fbz-dynamic-fields .fbz-section-title{
  font-size:15px;
  margin:0 0 18px;
  color:var(--fbz-accent);
  letter-spacing:0.3px;
  font-weight:600;
}

/* Ensure fields within dynamic sections have proper structure */
.fbz-dynamic-fields .fbz-field{
  display:flex;
  flex-direction:column;
  margin-bottom:18px;
}

.fbz-dynamic-fields .fbz-field:last-child{
  margin-bottom:0;
}

/* v17.6.3: Consistent vertical rhythm inside sections */
.fbz-section .fbz-field {
  margin-bottom: 16px;
}
.fbz-section .fbz-field:last-child {
  margin-bottom: 0;
}
/* Budget inputs need top margin when after a field label */
.fbz-budget-inputs {
  margin-top: 8px;
}
/* Checkbox/radio groups after their label */
.fbz-section .fbz-checkbox-group,
.fbz-section .fbz-radio-group {
  margin-bottom: 16px;
}
.fbz-section .fbz-checkbox-group:last-child,
.fbz-section .fbz-radio-group:last-child {
  margin-bottom: 0;
}

.fbz-dynamic-fields .fbz-field label{
  display:block;
  font-size:13px;
  font-weight:500;
  margin-bottom:6px;
  color:var(--fbz-label-color);
}

.fbz-dynamic-fields .fbz-field input[type="text"],
.fbz-dynamic-fields .fbz-field input[type="number"],
.fbz-dynamic-fields .fbz-field select,
.fbz-dynamic-fields .fbz-field textarea{
  width:100%;
  height:44px;
  padding:0 14px;
  border-radius:10px;
  border:1px solid var(--fbz-input-border);
  background:var(--fbz-input-bg);
  color:white;
  font-size:14px;
  transition:all 0.2s ease;
}

.fbz-dynamic-fields .fbz-field textarea{
  height:auto;
  min-height:110px;
  padding:12px 14px;
}

.fbz-dynamic-fields .fbz-field input:focus,
.fbz-dynamic-fields .fbz-field select:focus,
.fbz-dynamic-fields .fbz-field textarea:focus{
  border-color:rgba(253,235,25,0.40);
  background:rgba(0,0,0,0.25);
  outline:none;
}

/* Checkbox and Radio groups - better visual structure */
.fbz-checkbox-group,
.fbz-radio-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}

.fbz-checkbox-label,
.fbz-radio-label{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
  cursor:pointer;
  transition:all 0.2s ease;
}

.fbz-checkbox-label:hover,
.fbz-radio-label:hover{
  border-color:rgba(253,235,25,0.25);
  background:rgba(255,255,255,0.05);
}

.fbz-checkbox-label input[type="checkbox"],
.fbz-radio-label input[type="radio"]{
  width:18px;
  height:18px;
  margin:0;
  flex-shrink:0;
  cursor:pointer;
}

.fbz-checkbox-label span,
.fbz-radio-label span{
  flex:1;
  font-size:14px;
  line-height:1.5;
  color:rgba(255,255,255,0.92);
}

.fbz-checkbox-label:has(input:checked),
.fbz-radio-label:has(input:checked){
  border-color:rgba(253,235,25,0.50);
  background:rgba(253,235,25,0.08);
}

.fbz-checkbox-label:has(input:checked) span,
.fbz-radio-label:has(input:checked) span{
  color:rgba(255,255,255,1);
  font-weight:500;
}

/* Budget range inputs */
.fbz-budget-inputs{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:0;
}

.fbz-budget-inputs input{
  flex:1;
  min-width:0;
  height:44px;
  border-radius:10px;
  border:1px solid var(--fbz-input-border);
  background:var(--fbz-input-bg);
  color:white;
  padding:0 14px;
  font-size:14px;
  transition:all 0.2s ease;
}

.fbz-budget-inputs input::placeholder{
  color:#7f88b5;
}

.fbz-budget-inputs input:focus{
  outline:none;
  border-color:rgba(245,217,10,0.5);
  box-shadow:0 0 0 3px rgba(245,217,10,0.1);
}

.fbz-budget-inputs .fbz-budget-separator{
  color:rgba(255,255,255,0.6);
  font-weight:600;
  font-size:16px;
}

/* Actions section - ensure clear separation and proper positioning */
}

/* Field section labels (non-input headings) */
.fbz-field-section{
  font-size:16px;
  font-weight:700;
  color:rgba(253,235,25,0.95);
  margin-bottom:12px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(253,235,25,0.15);
}

/* Contact Grid - PASO 1: Premium Layout */
.fbz-contact-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-bottom:20px;
}

/* Event Grid - PASO 2: Premium Layout */
.fbz-event-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-bottom:16px;
}

/* Field width utilities */
.fbz-field-half{
  grid-column:span 1;
}

.fbz-field-full{
  grid-column:span 2;
}

@media (max-width:768px){
  .fbz-contact-grid,
  .fbz-event-grid{
    grid-template-columns:1fr;
  }
  
  .fbz-field-half,
  .fbz-field-full{
    grid-column:span 1;
  }
}

/* Email spam notice */
.fbz-email-spam-notice{
  display:block;
  margin-top:6px;
  font-size:12px;
  opacity:0.80;
  color:rgba(253,235,25,0.85);
}

/* Error states - enhanced */
.fbz-field.has-error .fbz-error{
  display:block;
}

.fbz-field.has-error input,
.fbz-field.has-error select{
  border-color:rgba(251,113,133,0.6);
  background:rgba(251,113,133,0.08);
}

/* Grid utilities for base form (non-dynamic) */
  .fbz-grid-3{
    grid-template-columns:1fr;
  }
}

/* Landing page */
.fbz-landing-hero{padding:90px 0 60px;background:linear-gradient(180deg, rgba(25,29,49,0.85) 0%, rgba(15,23,42,1) 100%);}
.fbz-landing-hero h1{font-size:clamp(32px,5vw,52px);margin:0 0 14px;}
.fbz-landing-hero p{font-size:18px;opacity:.92;margin:0 0 22px;}
.fbz-hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:18px;}
.fbz-btn-cta{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border-radius:14px;text-decoration:none;font-weight:900;background:linear-gradient(135deg,#fdeb19 0%, #f5d000 100%);color:#0f172a;transition:transform .18s ease;}
.fbz-btn-cta:hover{transform:translateY(-2px);}
.fbz-btn-cta-outline{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.14);color:#fff;}
.fbz-content-section{padding:60px 0;}
.fbz-content-section h2{font-size:32px;color:#fdeb19;margin:0 0 18px;}
.fbz-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:18px;}
.fbz-benefit{padding:18px;border-radius:14px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);}
.fbz-benefit h3{margin:0 0 10px;font-size:18px;}
.fbz-simple-contact .fbz-field label{display:block;margin-bottom:6px;}
/* v17.2.5: Removed duplicate .fbz-grid-2 rule - using only the one at line 123 */
@media(max-width:768px){.fbz-grid-2{grid-template-columns:1fr;}.fbz-hero-cta{flex-direction:column;}.fbz-btn-cta{width:100%;}}

/* ---------------------------------------------------------
   BOOKING WIZARD MODAL (centered + visible)
   --------------------------------------------------------- */
.fbz-booking-wizard-modal .fbz-modal-panel{
  border:1px solid rgba(255,255,255,0.14);
  background:linear-gradient(180deg, rgba(25,29,49,0.98) 0%, rgba(15,23,42,0.98) 100%);
  box-shadow:0 30px 90px rgba(0,0,0,0.55);
}
.fbz-booking-wizard-modal .fbz-modal-body{padding:16px 18px 18px;}

/* ---------------------------------------------------------
   MANUAL FORM (better spacing + readable checkbox labels)
   --------------------------------------------------------- */
.fbz-booking-manual-wrap{max-width:900px;margin:0 auto;}
.fbz-booking-manual-wrap h2{color:#fdeb19;}
.fbz-simple-contact .fbz-field{margin-bottom:14px;}
.fbz-simple-contact label{display:block;margin-bottom:6px;color:rgba(255,255,255,0.92);font-weight:700;}
.fbz-simple-contact input[type="text"],
.fbz-simple-contact input[type="email"],
.fbz-simple-contact input[type="tel"],
.fbz-simple-contact select,
.fbz-simple-contact textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  color:#fff;
  outline:none;
}
.fbz-simple-contact textarea{min-height:140px;}
.fbz-simple-contact .fbz-field-section{
  margin:18px 0 10px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.10);
  color:#fdeb19;
  font-weight:900;
  font-size:15px;
  letter-spacing:0.2px;
}

/* Checkbox group */
.fbz-checkbox-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
@media(max-width:768px){.fbz-checkbox-group{grid-template-columns:1fr;}}
.fbz-checkbox-label{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.10);}
.fbz-checkbox-label input{margin-top:3px;}
.fbz-checkbox-label span{color:rgba(255,255,255,0.92);}

/* Small helper text */
.fbz-help{display:block;margin-top:6px;font-size:12px;color:rgba(255,255,255,0.65);}

/* ═══════════════════════════════════════════════════════════════
   VERIFY SECTION (Email code verification)
   ═══════════════════════════════════════════════════════════════ */
.fbz-verify{
  margin-top:24px;
}

.fbz-verify-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
}

.fbz-verify-row .fbz-btn{
  flex-shrink:0;
}

.fbz-verify-row .fbz-help{
  color:var(--fbz-muted);
  font-size:13px;
}

.fbz-email-notice{
  margin-top:8px;
}

.fbz-email-notice small{
  display:block;
  font-size:12px;
  color:var(--fbz-muted);
  line-height:1.5;
}

.fbz-alert{
  margin-top:14px;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
}

.fbz-alert[data-type="success"]{
  background:rgba(34,197,94,0.1);
  border:1px solid rgba(34,197,94,0.3);
  color:#22c55e;
}

.fbz-alert[data-type="error"]{
  background:rgba(239,68,68,0.1);
  border:1px solid rgba(239,68,68,0.3);
  color:#ef4444;
}

/* ═══════════════════════════════════════════════════════════════
   DATE INPUT VALIDATION (prevent past dates)
   ═══════════════════════════════════════════════════════════════ */
input[type="date"]::-webkit-calendar-picker-indicator{
  filter:invert(0.7);
  cursor:pointer;
}

input[type="date"]::-webkit-datetime-edit{
  color:white;
}

input[type="time"]::-webkit-calendar-picker-indicator{
  filter:invert(0.7);
  cursor:pointer;
}

input[type="time"]::-webkit-datetime-edit{
  color:white;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width:768px){
  .fbz-booking-section{
    padding:60px 15px;
  }
  
  .fbz-booking-card{
    padding:24px 18px;
  }
  
  .fbz-section{
    padding:18px;
  }
  
  .fbz-verify-row{
    flex-direction:column;
    align-items:stretch;
  }
  
  .fbz-verify-row .fbz-btn{
    width:100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PHONE INPUT WITH COUNTRY DROPDOWN (v17.2.5 - Dynamic width)
   ═══════════════════════════════════════════════════════════════ */
.fbz-phone-wrapper {
  display: grid;
  grid-template-columns: auto 1fr; /* Dynamic: adapts to content */
  gap: 10px;
  align-items: stretch;
}

.fbz-country-select {
  width: 100%;
  min-width: 75px; /* Minimum width for short codes like +1 */
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--fbz-input-border);
  background: var(--fbz-input-bg);
  color: white;
  padding: 0 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.fbz-country-select:focus {
  outline: none;
  border-color: rgba(245,217,10,0.5);
  box-shadow: 0 0 0 3px rgba(245,217,10,0.1);
}

.fbz-phone-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--fbz-input-border);
  background: var(--fbz-input-bg);
  color: white;
  padding: 0 14px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.fbz-phone-input::placeholder {
  color: #7f88b5;
}

.fbz-phone-input:focus {
  outline: none;
  border-color: rgba(245,217,10,0.5);
  box-shadow: 0 0 0 3px rgba(245,217,10,0.1);
}

.fbz-phone-input.valid {
  border-color: #22c55e;
}

.fbz-phone-input.invalid {
  border-color: #ef4444;
  background: rgba(251,113,133,0.08);
}

.fbz-phone-error {
  display: none;
}

.fbz-phone-error.visible {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   MULTI-BUTTON MODALS (v17.2.5)
   ═══════════════════════════════════════════════════════════════ */
.fbz-notification-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.fbz-notification-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fbz-notification-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

/* Update primary button to work in multi-button layout */
.fbz-notification-buttons .fbz-notification-btn {
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS (v17.2.5 - Fixed horizontal scroll)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Wizard más ancho en mobile - NO scroll horizontal */
  .fbz-modal-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }
  
  .fbz-booking-card {
    max-width: 100%;
    width: 100%;
    padding: 16px;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  /* Fix elementos que se salen */
  .fbz-section {
    padding: 14px;
    margin-bottom: 18px;
    box-sizing: border-box;
  }
  
  .fbz-field {
    box-sizing: border-box;
  }
  
  /* Inputs no overflow */
  .fbz-field input,
  .fbz-field select,
  .fbz-field textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Phone wrapper: keep side-by-side with fixed country code width */
  .fbz-phone-wrapper {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 8px;
  }
  
  .fbz-country-select {
    width: 95px;
    min-width: 95px;
  }
  
  /* Budget inputs en columna */
  .fbz-budget-inputs {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Checkboxes más compactos */
  .fbz-checkbox-group {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  
  /* Notification modals más small-friendly */
  .fbz-notification-premium {
    max-width: 90vw;
    padding: 24px 20px;
  }
  
  .fbz-notification-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .fbz-notification-btn,
  .fbz-notification-btn-secondary {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM NOTIFICATION OVERLAY (v17.2.5)
   ═══════════════════════════════════════════════════════════════ */
.fbz-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: fbzFadeIn 0.2s ease;
}

@keyframes fbzFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fbz-notification-premium {
  background: var(--fbz-panel);
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: fbzSlideUp 0.3s ease;
}

@keyframes fbzSlideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.fbz-notification-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.fbz-notification-title {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--fbz-text);
}

.fbz-notification-message {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fbz-muted);
  margin: 0 0 24px;
  white-space: pre-line;
}

.fbz-notification-btn {
  background: var(--fbz-accent);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fbz-notification-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.fbz-notification-premium.error .fbz-notification-icon {
  color: #ef4444;
}

.fbz-notification-premium.success .fbz-notification-icon {
  color: #22c55e;
}

.fbz-notification-premium.warning .fbz-notification-icon {
  color: #f59e0b;
}

.fbz-notification-premium.info .fbz-notification-icon {
  color: #3b82f6;
}

/* =====================================================================
   END ORIGINAL: fbz-booking.css
   ===================================================================== */

/* =====================================================================
   PHASE 9: In-modal Success Confirmation (Premium)
   ===================================================================== */

.fbz-pane-success .fbz-success-card{
  text-align:center;
  padding:18px 6px 0;
}

.fbz-success-title{font-size:28px;margin:8px 0 6px;letter-spacing:-0.02em}
.fbz-success-sub{color:rgba(248,250,252,0.78);margin:0 auto 18px;max-width:440px}

.fbz-success-total{
  margin:18px auto 22px;
  max-width:420px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:14px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
}
.fbz-success-total-label{font-size:12px;text-transform:uppercase;letter-spacing:0.08em;color:rgba(248,250,252,0.62);margin-bottom:6px}
.fbz-success-total-value{font-size:26px;font-weight:900;color:var(--accent)}

.fbz-actions-center{justify-content:center}

/* Animated checkmark (SVG) */
.fbz-checkmark{width:88px;height:88px;display:block;margin:0 auto 6px;filter:drop-shadow(0 10px 26px rgba(34,197,94,0.25))}
.fbz-checkmark-circle{
  stroke:#22c55e;
  stroke-width:3;
  stroke-dasharray:166;
  stroke-dashoffset:166;
  animation:fbzCheckStroke 0.55s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.fbz-checkmark-check{
  stroke:#22c55e;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:48;
  stroke-dashoffset:48;
  animation:fbzCheckStroke 0.45s 0.25s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
@keyframes fbzCheckStroke{to{stroke-dashoffset:0}}

/* When success is active, hide the modal X so the user closes via the "Close" CTA (Phase 9) */
.fbz-booking-wizard-modal.is-success .fbz-modal-close{display:none !important}

/* ═══════════════════════════════════════════════════════════════
   v17.6.4: MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Mobile: Center wizard and widen inner containers */
@media (max-width: 768px) {
  .fbz-booking-root {
    margin: 0 auto;
    padding: 0 8px;
  }
  .fbz-booking-card {
    padding: 20px 12px;
  }
  .fbz-section {
    padding: 18px 14px;
  }
}

@media (max-width: 520px) {
  .fbz-wizard-progress {
    padding: 0 4px;
    margin-bottom: 20px;
  }
  .fbz-step-circle.fbz-vinyl {
    width: 38px;
    height: 38px;
  }
  .fbz-vinyl-label {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
  /* v17.6.4: HIDE step labels on mobile - they overlap */
  .fbz-step-label {
    display: none !important;
  }
  .fbz-wizard-progress::before {
    top: 19px;
  }
  /* v17.6.4: Remove tonearm/scratch marks on mobile (too small) */
  .fbz-step.is-active .fbz-step-circle.fbz-vinyl::after,
  .fbz-step.is-active .fbz-step-circle.fbz-vinyl::before {
    display: none;
  }
  /* Currency selector mobile */
  .fbz-currency-selector {
    flex-wrap: nowrap;
  }
  .fbz-currency-btn {
    padding: 5px 10px;
    font-size: 12px;
    gap: 4px;
  }
  /* Cassette scale down on mobile */
  .fbz-cassette {
    width: 220px;
    height: 150px;
    padding: 10px;
  }
  .fbz-cassette-reel {
    width: 38px;
    height: 38px;
  }
  .fbz-reel-center {
    width: 14px;
    height: 14px;
  }
  .fbz-waiting-screen {
    padding: 20px 10px;
    margin: 15px 0;
  }
  .fbz-cassette-container {
    gap: 18px;
  }
  /* Code inputs: ensure 6 boxes fit in container */
  .fbz-code-inputs {
    gap: 4px;
    justify-content: center;
    padding: 0 4px;
  }
  .fbz-code-inputs input {
    width: 36px;
    height: 46px;
    font-size: 20px;
    padding: 0 2px;
    border-radius: 8px;
  }
  .fbz-code-verification {
    padding: 18px 10px;
    margin-top: 20px;
  }
  .fbz-code-header h3 {
    font-size: 20px;
  }
  /* v17.6.4: Contact summary card — stack on mobile, fix EDIT overflow */
  [data-contact-summary] {
    padding: 14px !important;
  }
  [data-contact-summary] > div {
    flex-direction: column !important;
    gap: 12px;
    align-items: flex-start !important;
  }
  [data-contact-summary] .fbz-btn {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
    align-self: flex-start;
  }
  /* v17.6.4: Phone field — side-by-side on mobile with proper sizing */
  .fbz-phone-wrapper {
    display: grid !important;
    grid-template-columns: 90px 1fr !important;
    flex-direction: row !important;
    gap: 8px !important;
  }
  .fbz-country-select {
    width: 90px !important;
    min-width: 90px !important;
    font-size: 12px;
    padding: 0 4px;
  }
  .fbz-phone-input {
    width: 100% !important;
    min-width: 0;
  }
  /* Step loader cassette mobile */
  .fbz-step-loader .fbz-cassette-container {
    transform: scale(0.6);
  }
  /* Wider inner containers on mobile */
  .fbz-booking-card {
    padding: 16px 8px;
    border-radius: 12px;
  }
  .fbz-section {
    padding: 16px 10px;
    border-radius: 10px;
  }
  .fbz-step-header {
    margin-bottom: 16px;
  }
  .fbz-step-header h2 {
    font-size: 18px;
  }
}

/* v17.6.3: Currency context label */
.fbz-currency-context {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

/* v17.6.4: Budget input formatted display */
.fbz-budget-display {
  position: relative;
}
.fbz-budget-display .fbz-budget-formatted {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #fdeb19;
  font-weight: 600;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: var(--fbz-input-bg, rgba(15,23,42,0.6));
  border-radius: 10px;
}
.fbz-budget-display.has-value:not(.is-focused) .fbz-budget-formatted {
  opacity: 1;
}
.fbz-budget-display.has-value:not(.is-focused) input {
  color: transparent;
}

/* v17.6.4: Currency conversion note */
.fbz-currency-conversion-note {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(253,235,25,0.05);
  border-radius: 6px;
  border: 1px solid rgba(253,235,25,0.1);
  line-height: 1.4;
}
