.booking-flow-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.progress-step span {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: var(--surface);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.progress-step.active {
    color: var(--primary);
}

.progress-step.active span {
    background-color: var(--primary);
}

.progress-step.completed {
    color: var(--secondary);
}

.progress-step.completed span {
    background-color: var(--secondary);
}

.booking-step {
    display: none;
}

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

.booking-step h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1rem;
}

.form-actions .btn {
    flex: 1;
}

/* Room Selection Step */
#selected-room-display {
    padding: 1.5rem;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#selected-room-display.room-loaded {
    text-align: left;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: center;
}

#selected-room-display.room-loaded img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
}

#selected-room-display.room-loaded .room-info {
    display: flex;
    flex-direction: column;
}

#selected-room-display.room-loaded .room-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--text);
}

#selected-room-display.room-loaded .room-info p {
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

#selected-room-display.room-loaded .room-info .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Calendar Styles */
#calendar-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.calendar-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: color 0.2s ease;
}

.calendar-header button:hover {
    color: var(--accent);
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text);
}

.day-name {
    text-align: center;
    font-weight: 700;
    color: var(--muted);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.calendar-day {
    text-align: center;
    padding: 0.8rem 0.4rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
    color: var(--text);
    background-color: var(--surface);
    border: 1px solid #eee;
}

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

.calendar-day:not(.empty):hover {
    background-color: #f0f0f0;
}

.calendar-day.past-date {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.calendar-day.selected {
    background-color: var(--primary);
    color: var(--surface);
    font-weight: 700;
}

.calendar-day.selected-range {
    background-color: var(--primary);
    color: var(--surface);
    opacity: 0.8;
}

.calendar-day.check-in, .calendar-day.check-out {
    background-color: var(--accent);
    color: var(--surface);
    font-weight: 700;
}

.calendar-day.unavailable {
    background-color: #ffdddd;
    color: var(--accent);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Summary */
.booking-summary {
    padding: 2rem;
    margin-top: 2rem;
}

.booking-summary h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.booking-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #eee;
    font-size: 1rem;
}

.booking-summary p:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.booking-summary strong {
    color: var(--text);
}

.booking-summary .total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1.5rem;
    border-top: 2px solid var(--primary);
    padding-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-flow-container {
        padding: 1.5rem;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 1rem 0;
        margin-bottom: 1.5rem;
    }

    .progress-bar::before {
        display: none;
    }

    .progress-step {
        flex: 0 0 50%; /* Two steps per row */
        margin-bottom: 1rem;
    }

    .booking-step h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    #selected-room-display.room-loaded {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #selected-room-display.room-loaded img {
        height: 180px;
    }

    .calendar-day {
        padding: 0.6rem 0.2rem;
        font-size: 0.85rem;
    }

    .calendar-header h3 {
        font-size: 1.1rem;
    }

    .booking-summary p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .booking-summary p strong {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .booking-flow-container {
        padding: 1rem;
    }

    .progress-step {
        font-size: 0.8rem;
    }

    .progress-step span {
        width: 30px;
        height: 30px;
    }

    .booking-step h2 {
        font-size: 1.3rem;
    }

    .booking-summary h3 {
        font-size: 1.3rem;
    }

    .booking-summary p {
        font-size: 0.9rem;
    }

    .booking-summary .total-price {
        font-size: 1.1rem;
    }
}
