/**
 * Booking Page Styles
 */

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    font-weight: bold;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.form-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.packages-selection {
    display: grid;
    gap: 1rem;
}

.package-option {
    display: block;
    padding: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.package-option:hover {
    border-color: var(--primary-color);
}

.package-option.selected {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.package-option input[type="radio"] {
    display: none;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.time-slot.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.booking-summary {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.booking-summary h3 {
    margin-bottom: 1rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-total {
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-slots {
    text-align: center;
    padding: 2rem;
    color: #999;
}

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

.success-container {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.booking-details-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

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