/* Day Pass Checkout Redesign CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --burgundy-dark: #4a0a12;
    --burgundy-primary: #6b0f1a;
    --gold-accent: #c19b6c;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
}

/* Hero Banner */
.day-pass-banner {
    position: relative;
    background-color: var(--bg-white);
    background-image: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0) 100%), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center right;
    padding: 60px 0 80px 0;
    margin-bottom: 0px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .day-pass-banner {
        background-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop');
        padding: 40px 20px;
    }
}

.day-pass-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--burgundy-primary);
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.day-pass-badge i {
    margin-right: 8px;
    font-size: 16px;
}

.banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--burgundy-primary);
    line-height: 1.1;
    margin-bottom: 16px;
}

.banner-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.banner-price {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.banner-price span {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Progress Stepper */
.stepper-container {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 24px 40px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.stepper-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.stepper-item.active .stepper-circle {
    background-color: var(--burgundy-primary);
    border-color: var(--burgundy-primary);
    color: var(--bg-white);
}

.stepper-item.active .stepper-label {
    color: var(--burgundy-primary);
}

.stepper-line {
    position: absolute;
    top: 44px;
    left: 20%;
    right: 20%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.stepper-line-active {
    position: absolute;
    top: 44px;
    left: 20%;
    width: 30%; /* Set based on active step */
    height: 2px;
    background-color: var(--burgundy-primary);
    z-index: 1;
}

@media (max-width: 576px) {
    .stepper-container { padding: 20px; }
    .stepper-circle { width: 32px; height: 32px; font-size: 14px; }
    .stepper-label { font-size: 12px; }
    .stepper-line, .stepper-line-active { top: 36px; }
}

/* Sections */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy-primary);
    margin-bottom: 20px;
}

.step-number {
    display: none; /* Hide since we have top stepper */
}

/* Guest Type Cards */
.guest-type-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .guest-type-cards { flex-direction: column; }
}

.guest-card {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.guest-card:hover {
    border-color: var(--burgundy-primary);
    box-shadow: 0 4px 15px rgba(107, 15, 26, 0.1);
}

.guest-card.active {
    background-color: var(--burgundy-primary);
    border-color: var(--burgundy-primary);
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(107, 15, 26, 0.2);
}

.guest-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(107, 15, 26, 0.05);
    color: var(--burgundy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px auto;
    border: 1px solid rgba(107, 15, 26, 0.1);
    transition: all 0.3s;
}

.guest-card.active .guest-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.guest-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.guest-card.active .guest-title {
    color: var(--bg-white);
}

.guest-badge {
    display: inline-block;
    background-color: #fdf6e3;
    color: var(--gold-accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.guest-card.active .guest-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.guest-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy-primary);
}

.guest-card.active .guest-price {
    color: var(--bg-white);
}

.check-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--bg-white);
    color: var(--burgundy-primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s;
}

.guest-card.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

.info-alert {
    background-color: #fef9ed;
    border: 1px solid #f2e3c6;
    color: #8c6d3b;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.info-alert i { margin-right: 10px; font-size: 16px; }

/* Plan Schedule */
.schedule-box {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    background-color: var(--bg-white);
    margin-bottom: 30px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 46px;
}

.qty-btn {
    background: var(--bg-white);
    border: none;
    color: var(--burgundy-primary);
    width: 46px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover { background: var(--bg-light); }

.qty-input {
    flex: 1;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.qty-input:focus { outline: none; }

.custom-date-input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 46px;
    padding-left: 40px !important;
    font-weight: 600;
}

.date-icon-wrapper {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--burgundy-primary);
    z-index: 4;
}

/* Your Details */
.details-box {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    background-color: var(--bg-white);
    margin-bottom: 30px;
}

.auth-toggle {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    background: var(--bg-white);
}

.auth-toggle-btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background: var(--bg-white);
    color: var(--burgundy-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.auth-toggle-btn.active {
    background: var(--burgundy-primary);
    color: var(--bg-white);
}

.form-label-custom {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label-custom span { color: var(--burgundy-primary); }

.form-control-custom {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: var(--bg-light);
}

.form-control-custom:focus {
    background-color: var(--bg-white);
    border-color: var(--burgundy-primary);
    box-shadow: 0 0 0 3px rgba(107, 15, 26, 0.1);
    outline: none;
}

.secure-notice {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.secure-notice i { color: var(--text-secondary); margin-right: 6px; }

.btn-checkout {
    background-color: var(--burgundy-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.btn-checkout:hover {
    background-color: var(--burgundy-dark);
    color: var(--bg-white);
}

.btn-checkout i { margin-left: 10px; }

.trust-badges {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-badge i { color: var(--gold-accent); margin-right: 6px; font-size: 14px; }

/* Order Summary Sidebar */
.order-summary {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--burgundy-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.summary-title i { margin-right: 10px; }

.product-info {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.product-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 16px;
}

.product-details h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.product-details p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.summary-list {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
}

.summary-item:last-child { margin-bottom: 0; }
.summary-label { color: var(--text-primary); font-weight: 600; }
.summary-value { color: var(--text-secondary); text-align: right; }

.total-row {
    background-color: var(--bg-light);
    border: 1px solid #f3e8cb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.total-label { font-weight: 700; color: var(--text-primary); font-size: 15px; }
.total-price { font-weight: 700; color: var(--burgundy-primary); font-size: 1.5rem; }

.features-list { margin-bottom: 24px; }
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.feature-item i {
    color: #c19b6c;
    margin-right: 10px;
    margin-top: 3px;
}

.guarantee-box {
    background-color: var(--bg-light);
    border: 1px solid #f3e8cb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
}
.guarantee-icon {
    color: var(--gold-accent);
    font-size: 24px;
    margin-right: 12px;
}
.guarantee-text h5 { font-size: 13px; font-weight: 700; color: #8c6d3b; margin-bottom: 4px; }
.guarantee-text p { font-size: 12px; color: var(--text-secondary); margin: 0; }

/* Overrides for intlTelInput */
.iti { width: 100%; }
.iti__flag-container { z-index: 5; }

/* User Info Card */
.user-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.user-info-card .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(107, 15, 26, 0.1);
    color: var(--burgundy-primary);
    display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.user-info-card .user-name { font-weight: 700; font-size: 15px; }
.user-info-card .user-email { font-size: 12px; color: var(--text-secondary); }
.user-info-card button { background: var(--burgundy-primary); color: white; border: none; padding: 6px 12px; border-radius: 4px; font-size: 12px; cursor: pointer; }
