/* Booking System Styles */
.booking-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.booking-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F4C430;
}

.booking-hero .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.detail-item i {
    color: #F4C430;
    font-size: 1.2rem;
}

/* Booking Section */
.booking-section {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.booking-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.booking-container *,
.booking-container *::before,
.booking-container *::after {
    box-sizing: border-box;
}

.booking-header {
    background: linear-gradient(135deg, #F4C430 0%, #e6b800 100%);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.booking-header-content {
    flex: 1;
    text-align: left;
}

.booking-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Booking Toggle Button */
.booking-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.booking-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.booking-toggle-btn:active {
    transform: translateY(0);
}

.booking-toggle-btn .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.booking-toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Booking Content - Collapsible */
.booking-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.booking-content[aria-hidden="true"] {
    display: none;
}

.booking-content[aria-hidden="false"] {
    display: block;
    padding: 2rem;
}

/* For Monday Auburn page with two-column layout */
.booking-content[aria-hidden="false"]:has(.booking-left) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
    padding: 0;
}

/* Left Column - Calendar */
.booking-left {
    padding: 2rem;
    border-right: 1px solid #e9ecef;
    background-color: #fafafa;
}

.booking-left h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

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

.calendar-nav {
    background: #F4C430;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #e6b800;
    transform: scale(1.05);
}

.calendar-month {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    color: #333;
}

.calendar-date:hover {
    background-color: #f0f0f0;
}

.calendar-date.available {
    background-color: #e8f5e8;
    color: #2d5a2d;
}

.calendar-date.available:hover {
    background-color: #d4edda;
}

.calendar-date.selected {
    background-color: #F4C430;
    color: white;
    font-weight: 600;
}

.calendar-date.available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #F4C430;
    border-radius: 50%;
}

.calendar-date.selected::after {
    background-color: white;
}

.calendar-date.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-date.other-month:hover {
    background-color: transparent;
}

/* Timezone Info */
.timezone-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

/* Availability Section */
.availability-section h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.time-slot {
    background: white;
    border: 2px solid #e9ecef;
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
}

.time-slot:hover {
    border-color: #F4C430;
    background-color: #fffbf0;
}

.time-slot.selected {
    background-color: #F4C430;
    border-color: #F4C430;
    color: white;
}

/* Right Column - Price and Details */
.booking-right {
    padding: 2rem;
    background-color: white;
}

.booking-right h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.price-selection {
    margin-bottom: 2rem;
}

.price-dropdown select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-dropdown select:focus {
    outline: none;
    border-color: #F4C430;
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.1);
}

.service-details {
    margin-bottom: 2rem;
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-info h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.more-details-btn {
    background: none;
    border: none;
    color: #F4C430;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.more-details-btn:hover {
    color: #e6b800;
}

.service-expanded {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.service-expanded h5 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.service-expanded h5:first-child {
    margin-top: 0;
}

.service-expanded ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #666;
}

.service-expanded li {
    margin-bottom: 0.25rem;
}

.service-expanded p {
    color: #666;
    margin: 0.5rem 0;
}

/* Team Instructions */
.team-instructions {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #F4C430;
}

.team-instructions h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.instruction-section {
    margin-bottom: 1.5rem;
}

.instruction-section:last-child {
    margin-bottom: 0;
}

.instruction-section h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.instruction-section ol {
    margin: 0.5rem 0 0 1.5rem;
    color: #666;
}

.instruction-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.instruction-section p {
    color: #666;
    margin: 0.5rem 0 0 0;
}

/* Next Button */
.next-button {
    width: 100%;
    background-color: #F4C430;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-button:hover:not(:disabled) {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.next-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content *,
.modal-content *::before,
.modal-content *::after {
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}


.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F4C430;
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #F4C430;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Booking Summary */
.booking-summary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #F4C430;
}

.booking-summary h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #666;
}

.summary-item:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #F4C430;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #F4C430;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .booking-header-content {
        text-align: center;
    }
    
    .booking-toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
    }
    
    .booking-content[aria-hidden="false"]:has(.booking-left) {
        grid-template-columns: 1fr;
    }
    
    .booking-left {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .booking-header h2 {
        font-size: 2rem;
    }
    
    .booking-section {
        padding: 2rem 0.75rem;
    }
    
    .booking-container {
        border-radius: 12px;
    }
    
    .booking-content[aria-hidden="false"] {
        padding: 1.25rem;
    }
    
    .booking-left {
        padding: 1.25rem;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-weekdays,
    .calendar-dates {
        gap: 0.25rem;
    }
    
    .calendar-nav {
        width: 34px;
        height: 34px;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-body .form-group input,
    .modal-body .form-group select {
        font-size: 16px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-section {
        padding: 1.5rem 0.5rem;
    }
    
    .booking-content[aria-hidden="false"] {
        padding: 1rem;
    }
    
    .booking-left {
        padding: 1rem;
    }
    
    .booking-left h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .calendar-container {
        padding: 0.75rem;
    }
    
    .weekday {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .calendar-date {
        font-size: 0.85rem;
    }
    
    .calendar-month {
        font-size: 1.1rem;
    }
    
    .modal-overlay {
        padding: 0.5rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .booking-summary {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .booking-hero .hero-title {
        font-size: 2rem;
    }
    
    .booking-header h2 {
        font-size: 1.5rem;
    }
    
    .calendar-dates {
        gap: 0.25rem;
    }
    
    .calendar-date {
        font-size: 0.875rem;
    }
    
    .time-slot {
        padding: 0.75rem;
    }
}

/* Loading States */
.next-button.loading,
#complete-booking.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.next-button.loading::after,
#complete-booking.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled state for buttons */
.next-button:disabled,
#complete-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}