/* Reservation specific styles */
.reservation-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Payment options */
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-option {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    background: var(--background-light);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--accent-color);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option input[type="radio"]:checked + .payment-option-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.payment-option input[type="radio"]:checked ~ .payment-option-desc {
    color: var(--primary-dark);
}

.payment-option-label {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.payment-option-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Price summary */
.price-summary {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.price-summary h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--secondary-color);
}

.price-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Form terms */
.form-terms {
    margin-bottom: 1rem;
}

.form-terms label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-terms a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-terms a:hover {
    text-decoration: underline;
}

/* Time slots display */
.time-slots-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.time-slots-container h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

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

.time-slot {
    background: var(--accent-color);
    padding: 0.7rem;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.time-slot:hover {
    background: var(--secondary-color);
    color: var(--white);
}

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

.time-slot-empty {
    grid-column: 1 / -1;
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-light);
}

.error {
    text-align: center;
    padding: 1rem;
    color: var(--danger-color);
}

/* Login and Registration Forms */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.auth-container h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.auth-container .form-group {
    margin-bottom: 1.5rem;
}

.auth-toggle {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-toggle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-toggle a:hover {
    text-decoration: underline;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    z-index: 1010;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu a {
    padding: 0.5rem 1.5rem;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--accent-color);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .payment-option {
        min-width: auto;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid var(--accent-color);
        border-bottom: 1px solid var(--accent-color);
        margin: 0.5rem 0;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
}
