/* Booking Page Styles */

.booking-page {
    background: #f5f7f9;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-light);
    display: flex;
    flex-direction: column;
}

/* Booking Header */
.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.booking-logo img {
    height: 45px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(30%) saturate(500%) hue-rotate(160deg);
}

.booking-close {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #ddd;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    font-family: var(--font-main);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.booking-close span {
    font-size: 18px;
}

.booking-close:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

/* Progress Steps */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.progress-step {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ddd;
    border: 3px solid #ddd;
}

.progress-step.active .step-dot {
    background: #1a3a4a;
    border-color: #1a3a4a;
}

.progress-step.completed .step-dot {
    background: #1a9fda;
    border-color: #1a9fda;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #ddd;
    max-width: 150px;
}

/* Booking Content - Desktop Two Column Layout */
.booking-content {
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column - Info */
.booking-left {
    position: sticky;
    top: 50px;
}

.booking-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #1a9fda;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.booking-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a3a4a;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.1;
}

.booking-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #fff8e6;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #f0e4c8;
}

.booking-notice svg {
    color: #f0ad4e;
    flex-shrink: 0;
}

.booking-notice span {
    font-size: 14px;
    color: #666;
}

/* Price Section */
.booking-price-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafe 0%, #f0f7fc 100%);
    border-radius: 12px;
    border: 1px solid #e0eef5;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.price-value {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a4a;
    margin-bottom: 15px;
}

.price-value::before {
    content: 'CHF ';
    font-size: 24px;
    font-weight: 500;
}

.price-availability {
    margin-top: 15px;
}

.availability-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.availability-fill {
    height: 100%;
    background: linear-gradient(to right, #2ecc71, #1a9fda);
    border-radius: 3px;
}

.availability-text {
    font-size: 13px;
    color: #888;
}

/* Description */
.booking-description {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.booking-description h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a4a;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.booking-description h4:first-child {
    margin-top: 0;
}

.booking-description p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.booking-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-description li {
    font-size: 14px;
    color: #555;
    padding: 6px 0 6px 25px;
    position: relative;
}

.booking-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a9fda;
    font-weight: bold;
}

/* Right Column - Calendar */
.booking-right {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Calendar */
.calendar-container {
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.calendar-nav {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    background: var(--color-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #1a9fda;
}

.calendar-nav:disabled {
    cursor: not-allowed;
}

.calendar-month {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a4a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.calendar-weekdays span {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f0f0f0;
}

.calendar-day:not(.disabled):not(.empty):hover {
    background: #e8f4fc;
    border-color: #1a9fda;
    transform: scale(1.05);
}

.calendar-day.selected {
    background: #1a9fda;
    border-color: #1a9fda;
    transform: scale(1.05);
}

.calendar-day.selected .day-number {
    color: var(--color-light);
}

.calendar-day.today {
    border-color: #1a9fda;
}

.day-number {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Season underlines */
.calendar-day.season-pre::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #87ceeb;
    border-radius: 2px;
}

.calendar-day.season-basic::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #b8d4e8;
    border-radius: 2px;
}

.calendar-day.season-peak::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #1a5f7a;
    border-radius: 2px;
}

.calendar-day.selected::after {
    background: rgba(255,255,255,0.6);
}

/* Demand dots */
.demand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.demand-dot.low { background: #2ecc71; }
.demand-dot.rather-low { background: #87d37c; }
.demand-dot.normal { background: #f1c40f; }
.demand-dot.rather-high { background: #e67e22; }
.demand-dot.high { background: #e74c3c; }

/* Demand Section */
.demand-section {
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.demand-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a4a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demand-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-item .dot.low { background: #2ecc71; }
.legend-item .dot.rather-low { background: #87d37c; }
.legend-item .dot.normal { background: #f1c40f; }
.legend-item .dot.rather-high { background: #e67e22; }
.legend-item .dot.high { background: #e74c3c; }

.demand-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.season-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.season-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.season-line {
    width: 35px;
    height: 4px;
    border-radius: 2px;
}

.season-line.pre { background: #87ceeb; }
.season-line.basic { background: #b8d4e8; }
.season-line.peak { background: #1a5f7a; }

.price-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Bottom Actions */
.booking-actions {
    display: flex;
    align-items: center;
    padding: 0;
    border-top: 1px solid #eee;
    background: var(--color-light);
}

.back-btn {
    padding: 25px 40px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #333;
    background: #f5f5f5;
}

.continue-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: var(--color-light);
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.continue-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.continue-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #ee5a5a 0%, #dd4a4a 100%);
}

/* ===============================================
   TABLET STYLES
   =============================================== */
@media (max-width: 1024px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .booking-left {
        position: static;
    }
    
    .booking-title {
        font-size: 30px;
    }
    
    .price-value {
        font-size: 36px;
    }
}

/* ===============================================
   MOBILE STYLES
   =============================================== */
@media (max-width: 768px) {
    .booking-header {
        padding: 15px 20px;
    }
    
    .booking-logo img {
        height: 35px;
    }
    
    .booking-close {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .booking-progress {
        padding: 20px;
    }
    
    .progress-line {
        max-width: 80px;
    }
    
    .step-dot {
        width: 12px;
        height: 12px;
    }
    
    .booking-content {
        padding: 20px;
        gap: 25px;
    }
    
    .booking-step-label {
        font-size: 11px;
    }
    
    .booking-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .booking-notice {
        padding: 15px;
        gap: 12px;
    }
    
    .booking-notice span {
        font-size: 13px;
    }
    
    .booking-price-section {
        padding: 20px;
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .price-value::before {
        font-size: 18px;
    }
    
    .booking-description {
        padding: 20px;
    }
    
    .booking-description h4 {
        font-size: 13px;
    }
    
    .booking-description p,
    .booking-description li {
        font-size: 13px;
    }
    
    .booking-right {
        padding: 20px;
    }
    
    .calendar-nav {
        width: 38px;
        height: 38px;
    }
    
    .calendar-month {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .calendar-weekdays span {
        font-size: 10px;
    }
    
    .calendar-days {
        gap: 4px;
    }
    
    .day-number {
        font-size: 13px;
    }
    
    .demand-legend {
        gap: 8px;
    }
    
    .legend-item {
        font-size: 9px;
    }
    
    .legend-item .dot {
        width: 8px;
        height: 8px;
    }
    
    .season-legend {
        flex-direction: column;
        gap: 12px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .back-btn {
        width: 100%;
        text-align: center;
        padding: 18px;
        border-bottom: 1px solid #eee;
    }
    
    .continue-btn {
        width: 100%;
        padding: 22px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .booking-content {
        padding: 15px;
    }
    
    .booking-title {
        font-size: 18px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .calendar-day {
        border-radius: 4px;
    }
    
    .day-number {
        font-size: 12px;
    }
    
    .demand-dot {
        width: 5px;
        height: 5px;
        bottom: 10px;
    }
    
    .calendar-day.season-pre::after,
    .calendar-day.season-basic::after,
    .calendar-day.season-peak::after {
        bottom: 5px;
        height: 2px;
    }
}
