/* Booking Form Styles - Auth-Style Liquid Glass */

/* ===== Page Background ===== */
body.booking-page {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    background: url('../../../assets/img/hero-banner/aurora-hotel-bien-hoa-6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.booking-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.6));
    z-index: 1;
    pointer-events: none;
}

body.booking-page>div,
body.booking-page>main,
body.booking-page>footer,
body.booking-page>section {
    position: relative;
    z-index: 2;
}

/* ===== User Menu Dropdown - Dark Glass Override ===== */
body.booking-page .user-menu {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.95) 0%,
            rgba(17, 24, 39, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

body.booking-page .user-menu-header {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .user-menu-header span,
body.booking-page .user-menu-header div {
    color: white !important;
}

body.booking-page .user-menu-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.booking-page .user-menu-item:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #d4af37 !important;
}

body.booking-page .user-menu-item .material-symbols-outlined {
    color: #d4af37 !important;
}

body.booking-page .user-menu-divider {
    background: rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .user-menu-item.text-red-600,
body.booking-page .user-menu-item.text-red-400 {
    color: #f87171 !important;
}

body.booking-page .user-menu-item.text-red-600:hover,
body.booking-page .user-menu-item.text-red-400:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

/* ===== Main Container ===== */
.booking-main {
    padding-top: 12rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.booking-container {
    max-width: 56rem;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

/* ===== Header Section ===== */
.booking-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== Icon Badge - Liquid Glass ===== */
.icon-badge {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    animation: scaleIn 0.5s ease;
}

.icon-badge .material-symbols-outlined {
    font-size: 2.25rem;
    color: #d4af37;
}

/* ===== Booking Card - Liquid Glass ===== */
.booking-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 32px 64px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 1.5rem 1.5rem 0 0;
}

.booking-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%,
            rgba(212, 175, 55, 0.08) 0%,
            transparent 50%);
    animation: liquidShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes liquidShimmer {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(5%, 5%) rotate(2deg);
    }

    50% {
        transform: translate(0, 10%) rotate(0deg);
    }

    75% {
        transform: translate(-5%, 5%) rotate(-2deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Dark Theme Text Colors ===== */
body.booking-page {
    color: white;
}

body.booking-page h3,
body.booking-page h4 {
    color: white !important;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.booking-page .text-xl {
    font-size: 1.25rem;
    color: white !important;
}

body.booking-page .text-lg {
    font-size: 1.125rem;
    color: white !important;
}

body.booking-page .text-sm {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== Price Summary Box - Glass ===== */
.price-summary-glass,
body.booking-page .bg-primary-light\/20,
body.booking-page [class*="bg-gray-700"],
body.booking-page [class*="bg-surface"] {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white !important;
}

.price-summary-glass span,
body.booking-page .bg-primary-light\/20 span,
body.booking-page [class*="bg-gray-700"] span,
body.booking-page [class*="bg-surface"] span,
body.booking-page .mt-6 span,
body.booking-page .p-4 span,
body.booking-page .p-6 span {
    color: white !important;
}

body.booking-page .text-accent {
    color: #d4af37 !important;
}

/* ===== Checkbox Styling ===== */
body.booking-page input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #d4af37;
    cursor: pointer;
}

body.booking-page label {
    cursor: pointer;
    color: white;
}

/* ===== Links ===== */
.booking-main a:not(.btn-primary):not(.btn-secondary) {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.2s ease;
}

.booking-main a:not(.btn-primary):not(.btn-secondary):hover {
    color: #e5c04a;
    text-decoration: underline;
}

/* ===== Alert/Info Boxes ===== */
body.booking-page .bg-blue-50,
body.booking-page [class*="bg-blue-900"] {
    background: rgba(59, 130, 246, 0.2) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
}

body.booking-page .text-blue-800,
body.booking-page .text-blue-600,
body.booking-page .text-blue-700,
body.booking-page [class*="text-blue"] {
    color: #bfdbfe !important;
}

body.booking-page .bg-blue-600 {
    background: #3b82f6 !important;
    color: white !important;
}

body.booking-page .bg-blue-600:hover {
    background: #2563eb !important;
}

/* ===== Borders ===== */
body.booking-page .border-t,
body.booking-page .border-gray-300,
body.booking-page [class*="border-gray"] {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===== Grid text colors ===== */
body.booking-page .flex span,
body.booking-page .space-y-2 span,
body.booking-page div span {
    color: white !important;
}

body.booking-page .font-semibold {
    font-weight: 600;
    color: white !important;
}

body.booking-page .font-bold {
    font-weight: 700;
    color: white !important;
}

/* ============================================
   STEP INDICATOR - Premium Liquid Glass Design
   ============================================ */

/* Step Container */
.step-indicator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(17, 24, 39, 0.5) 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on container */
.step-indicator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.4) 50%,
            transparent 100%);
}

/* Step Item */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    min-width: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item span:not(.step-circle) {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.step-item.active span:not(.step-circle) {
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.step-item.completed span:not(.step-circle) {
    color: #10b981;
}

/* Step Circle - Glassmorphism */
.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Glow ring effect */
.step-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.4s ease;
}

/* Active Step Circle */
.step-item.active .step-circle {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b8941f 100%);
    border-color: rgba(212, 175, 55, 0.5);
    color: white;
    box-shadow:
        0 8px 32px rgba(212, 175, 55, 0.4),
        0 0 0 4px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    animation: pulseGold 2s ease-in-out infinite;
}

.step-item.active .step-circle::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), transparent);
}

/* Completed Step Circle */
.step-item.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: rgba(16, 185, 129, 0.5);
    color: transparent;
    /* Hide number */
    box-shadow:
        0 6px 24px rgba(16, 185, 129, 0.35),
        0 0 0 3px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Checkmark for completed steps */
/* Checkmark for completed steps */
.step-item.completed .step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    /* Ensure checkmark is visible */
    animation: checkmarkPop 0.3s ease-out;
}

/* Step Connector Line */
.step-connector {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    transition: width 0.5s ease-out;
}

.step-connector.completed::before {
    width: 100%;
}

.step-connector.active::before {
    width: 50%;
    background: linear-gradient(90deg, #10b981, #d4af37);
}

/* Animations */
@keyframes pulseGold {

    0%,
    100% {
        box-shadow:
            0 8px 32px rgba(212, 175, 55, 0.4),
            0 0 0 4px rgba(212, 175, 55, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 8px 40px rgba(212, 175, 55, 0.5),
            0 0 0 8px rgba(212, 175, 55, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Dark mode enhancements (already dark by default) */
.dark .step-circle {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(20, 30, 45, 0.7) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .step-item.active .step-circle,
.dark .step-item.completed .step-circle {
    border-width: 2px;
}

/* Form Elements - Liquid Glass (Dark Theme) */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-label .material-symbols-outlined {
    font-size: 1.125rem;
    color: #d4af37;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(17, 24, 39, 0.4);
    /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input:disabled {
    background: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Select dropdown styling */
.form-input option {
    background: #1e293b;
    color: white;
    padding: 0.5rem;
}

/* Date input icons */
.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
    filter: invert(1);
}

/* Payment Options - Liquid Glass (Dark Theme) */
.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.payment-option:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #d4af37;
}

.payment-option input[type="radio"]:checked~.payment-option-content {
    color: #d4af37;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.payment-option-content .material-symbols-outlined {
    font-size: 1.5rem;
    color: #d4af37;
}

/* Buttons - Auth Style */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e5c04a 0%, #c9a532 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #d4af37;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .booking-main {
        padding-top: 11rem;
    }

    .booking-hero {
        min-height: 60vh;
        padding: 100px 16px 60px;
    }

    .hero-glass-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .hero-glass-card h1 {
        font-size: 1.75rem;
    }

    .stats-bar {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Step Indicator Mobile */
    .step-indicator-container {
        padding: 1rem 1.25rem;
        gap: 0;
    }

    .step-item {
        min-width: 70px;
    }

    .step-item span:not(.step-circle) {
        font-size: 0.6875rem;
        max-width: 60px;
        line-height: 1.2;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9375rem;
    }

    .step-connector {
        margin: 0 0.25rem;
        margin-bottom: 1.25rem;
    }

    .booking-form-glass {
        padding: 1.5rem;
        border-radius: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .step-indicator-container {
        padding: 1rem;
    }

    .step-item {
        min-width: 55px;
    }

    .step-item span:not(.step-circle) {
        font-size: 0.625rem;
        max-width: 50px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .step-connector {
        margin: 0 0.15rem;
        margin-bottom: 1rem;
        height: 2px;
    }

    .step-item.active .step-circle {
        animation: none;
        /* Disable animation on small screens for performance */
    }
}