/* Travion Hotel Wizard - Premium Styles */

:root {
    --hotel-primary: #0ea5a0; /* Slightly different primary to distinguish from Airline */
    --hotel-secondary: #252a69;
    --hotel-text: #1a1a1a;
    --hotel-text-soft: #666;
    --hotel-bg: rgba(255, 255, 255, 0.95);
    --hotel-radius: 16px;
    --hotel-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.wizard-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease;
}

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

.wizard-container {
    width: 100%;
    max-width: 900px;
    background: var(--hotel-bg);
    border-radius: var(--hotel-radius);
    box-shadow: var(--hotel-shadow);
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 580px;
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 800px) {
    .wizard-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

.wizard-sidebar {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--hotel-secondary);
}

.wizard-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0.6;
    transition: transform 1s ease, opacity 0.5s ease;
}

.wizard-sidebar-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(37, 42, 105, 0.9), transparent);
}

.wizard-sidebar h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.wizard-sidebar p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.wizard-main {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.wizard-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--hotel-text-soft);
    cursor: pointer;
    z-index: 10;
}

.wizard-header {
    margin-bottom: 30px;
}

.wizard-progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.wizard-progress-fill {
    height: 100%;
    background: var(--hotel-primary);
    width: 0%;
    transition: width 0.4s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.wizard-input-group {
    margin-bottom: 20px;
}

.wizard-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hotel-text-soft);
    margin-bottom: 8px;
}

.wizard-input, .wizard-select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

/* Radio Cards */
.wizard-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.wizard-option {
    padding: 15px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.wizard-option.selected {
    border-color: var(--hotel-primary);
    background: rgba(14, 165, 160, 0.05);
}

.wizard-option input { display: none; }

.budget-desc {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hotel-text-soft);
    margin-bottom: 5px;
}

.budget-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hotel-primary);
}

.wizard-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

#hotelDateGroup {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.wizard-btn-next {
    background: var(--hotel-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-btn-prev {
    background: rgba(0,0,0,0.05);
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
}

.wizard-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

/* Success */
.wizard-success {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    text-align: center;
}

.wizard-success i { font-size: 4rem; color: #28a745; margin-bottom: 20px; }

/* Flatpickr override */
.flatpickr-calendar { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

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