/* Booking Page - Matching Main Site Aesthetic */

/* Booking Page Base */
.booking-page {
    background: linear-gradient(135deg, rgba(138, 152, 118, 0.03) 0%, rgba(229, 189, 170, 0.03) 100%);
    color: var(--deep-moss);
    min-height: 100vh;
}

/* Main Layout */
.booking-main {
    padding-top: 100px;
    min-height: 100vh;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Bar */
.booking-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 4px;
    background: rgba(138, 152, 118, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage-green), var(--rose-gold));
    width: 25%;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    list-style: none; /* ACCESSIBILITY: Remove default list styling for semantic <ol> */
    padding: 0;
    margin: 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(138, 152, 118, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: var(--deep-moss);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.progress-step.active .step-number {
    background: var(--sage-green);
    border-color: var(--sage-green);
    color: white;
    box-shadow: 0 0 20px rgba(138, 152, 118, 0.3);
}

.progress-step.completed .step-number {
    background: var(--sage-green);
    border-color: var(--sage-green);
    color: white;
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.9rem;
    color: var(--deep-moss);
    opacity: 0.7;
}

.progress-step.active .step-label {
    color: var(--sage-green);
    font-weight: 600;
    opacity: 1;
}

/* Content Layout */
.booking-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

/* Form Wrapper */
.booking-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(138, 152, 118, 0.1);
}

/* Booking Steps */
.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.step-title {
    font-family: var(--secondary-font);
    font-size: 2rem;
    color: var(--deep-moss);
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: var(--sage-green);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Section Cards */
.section-card {
    background: rgba(253, 249, 244, 0.5);
    border: 1px solid rgba(138, 152, 118, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-card h3 {
    color: var(--deep-moss);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-family: var(--secondary-font);
}

/* Workshop Selection */
.workshop-selection {
    margin-bottom: 2rem;
}

.workshop-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.workshop-option {
    background: white;
    border: 2px solid rgba(138, 152, 118, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.workshop-option:hover {
    border-color: var(--sage-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.workshop-option.selected {
    border-color: var(--sage-green);
    background: rgba(138, 152, 118, 0.05);
}

.selected-workshop {
    margin-top: 2rem;
}

.workshop-details-card {
    background: rgba(138, 152, 118, 0.05);
    border: 1px solid var(--sage-green);
    border-radius: 15px;
    padding: 1.5rem;
}

.workshop-info {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-moss);
}

/* Participant Selection */
.participant-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.participant-group label {
    display: block;
    color: var(--deep-moss);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--sage-green);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-btn:hover {
    background: var(--deep-moss);
    transform: scale(1.1);
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.counter input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-moss);
    background: transparent;
}

.participant-info {
    margin-top: 1rem;
}

.info-text {
    color: var(--sage-green);
    font-size: 0.95rem;
}

.error-text {
    color: #e74c3c;
    font-size: 0.95rem;
}

/* Add-ons Grid */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: white;
    border: 2px solid rgba(138, 152, 118, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.addon-card:hover {
    border-color: var(--sage-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.addon-card.selected {
    border-color: var(--sage-green);
    background: rgba(138, 152, 118, 0.05);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.addon-name {
    font-weight: 600;
    color: var(--deep-moss);
}

.addon-price {
    color: var(--sage-green);
    font-weight: 600;
}

.addon-description {
    color: var(--deep-moss);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.addon-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Calendar Styles */
.calendar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

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

.calendar-nav {
    background: var(--sage-green);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--deep-moss);
    transform: scale(1.1);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
}

.calendar-day.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.time-slots {
    background: rgba(253, 249, 244, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
}

.slots-grid {
    display: grid;
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
}

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

/* Enhanced Calendar Styles for Custom Component */

/* Calendar Day States */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    min-height: 40px;
}

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

.calendar-day.past {
    background: rgba(229, 189, 170, 0.1);
    color: rgba(80, 103, 74, 0.4);
    cursor: not-allowed;
    border-color: rgba(138, 152, 118, 0.1);
}

.calendar-day.available:hover {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 152, 118, 0.2);
}

.calendar-day.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 152, 118, 0.3);
}

.calendar-day.selected::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--rose-gold);
    border-radius: 50%;
}

/* Loading and Error States */
.loading-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.loading-slots .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(138, 152, 118, 0.2);
    border-top: 3px solid var(--sage-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.error-message {
    text-align: center;
    padding: 2rem;
    background: rgba(182, 110, 93, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(182, 110, 93, 0.2);
}

.error-text {
    color: var(--rose-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.error-help {
    color: var(--deep-moss);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.retry-btn {
    background: var(--sage-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--primary-font);
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: var(--deep-moss);
    transform: translateY(-1px);
}

/* No Slots Available State */
.no-slots {
    text-align: center;
    padding: 2rem;
    background: rgba(229, 189, 170, 0.05);
    border-radius: 15px;
}

.no-slots-text {
    color: var(--deep-moss);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-slots-help {
    color: var(--sage-green);
    font-size: 0.9rem;
}

/* Time Period Headers */
.time-period-header {
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--deep-moss);
    font-size: 1rem;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(138, 152, 118, 0.2);
}

.time-period-header:first-child {
    margin-top: 0;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Enhanced Time Slot Buttons */
#time-slots .time-slot {
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--primary-font);
    font-weight: 500;
    color: var(--deep-moss);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#time-slots .time-slot:hover {
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 152, 118, 0.2);
}

#time-slots .time-slot.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 152, 118, 0.3);
}

#time-slots .time-slot.selected::after {
    content: '✓';
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .calendar-container {
        flex-direction: column;
    }
    
    .calendar {
        margin-bottom: 2rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .calendar-day {
        min-height: 35px;
        font-size: 0.9rem;
    }
    
    #time-slots .time-slot {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-days {
        gap: 0.25rem;
    }
    
    .calendar-day {
        min-height: 32px;
        font-size: 0.85rem;
    }
}

/* Calendar Helper Message */
.calendar-help {
    text-align: center;
    padding: 2rem;
    background: rgba(138, 152, 118, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(138, 152, 118, 0.2);
}

.help-text {
    color: var(--sage-green);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Booking Confirmation Styles */
.booking-confirmed {
    background: linear-gradient(135deg, rgba(138, 152, 118, 0.05), rgba(80, 103, 74, 0.08));
    border: 2px solid rgba(138, 152, 118, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.booking-confirmed h4 {
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.booking-id {
    font-family: 'Courier New', monospace;
    background: rgba(138, 152, 118, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--deep-moss);
}

.booking-note {
    background: rgba(229, 189, 170, 0.1);
    border-left: 4px solid var(--rose-gold);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-style: italic;
    color: var(--deep-moss);
    border-radius: 0 8px 8px 0;
}

/* Loading Overlay Active State */
.loading-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Cal.com Embed Container */
.cal-embed-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cal-embed-container > div {
    border-radius: 12px;
    background: white;
}

/* Cal.com Embed Inner - Replacing inline styles */
.cal-embed-inner {
    width: 100%;
    height: 600px;
    overflow: scroll;
    border-radius: 12px;
    background: white;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: var(--deep-moss);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--primary-font);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(138, 152, 118, 0.1);
}

.help-text {
    font-size: 0.85rem;
    color: var(--sage-green);
    margin-top: 0.25rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 152, 118, 0.1);
}

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

.btn-next {
    background: var(--sage-green);
    color: white;
    margin-left: auto;
}

.btn-next:hover:not(:disabled) {
    background: var(--deep-moss);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--sage-green);
    color: var(--sage-green);
}

.btn-secondary:hover {
    background: var(--sage-green);
    color: white;
}

.btn-payment {
    background: var(--rose-gold);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.btn-payment:hover:not(:disabled) {
    background: var(--deep-moss);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-payment:disabled,
.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Price Calculator Sidebar */
.price-calculator-sidebar {
    position: sticky;
    top: 100px;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(138, 152, 118, 0.1);
}

.calculator-card h3 {
    font-family: var(--secondary-font);
    color: var(--deep-moss);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--deep-moss);
}

.price-line.separator {
    padding-top: 1rem;
    border-top: 1px solid rgba(138, 152, 118, 0.2);
}

.price-line.total {
    padding-top: 1rem;
    border-top: 2px solid var(--sage-green);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sage-green);
}

.price-line.highlight {
    background: rgba(138, 152, 118, 0.1);
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
}

.deposit-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 152, 118, 0.2);
}

.deposit-note {
    font-size: 0.85rem;
    color: var(--deep-moss);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Summary Content */
.summary-content {
    background: rgba(253, 249, 244, 0.5);
    border-radius: 15px;
    padding: 2rem;
}

.summary-section {
    margin-bottom: 2rem;
}

.summary-section h4 {
    color: var(--sage-green);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--deep-moss);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.terms-checkbox label {
    color: var(--deep-moss);
    line-height: 1.5;
}

.terms-checkbox a {
    color: var(--sage-green);
    text-decoration: underline;
}

/* Booking Review Section - WCAG 3.3.4 Error Prevention */
.review-checklist {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-item {
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    background: rgba(253, 249, 244, 0.5);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(138, 152, 118, 0.15);
}

.review-header h4 {
    margin: 0;
    color: var(--deep-moss);
    font-size: 1.1rem;
    font-weight: 600;
}

.edit-button {
    background: var(--sage-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.edit-button:hover {
    background: var(--sage-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(138, 152, 118, 0.3);
}

.edit-button:focus-visible {
    outline: 3px solid var(--deep-moss);
    outline-offset: 2px;
}

.edit-button:active {
    transform: translateY(0);
}

.review-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1.5rem;
    margin: 0;
}

.review-dl dt {
    font-weight: 600;
    color: var(--deep-moss);
    opacity: 0.8;
}

.review-dl dd {
    margin: 0;
    color: var(--deep-moss);
}

.review-pricing {
    font-size: 1.05rem;
}

.review-total-amount {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--deep-moss);
}

.review-deposit-amount {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--rose-gold);
}

.deposit-label {
    font-weight: 700;
    color: var(--rose-gold);
}

.confirmation-checkbox {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(229, 189, 170, 0.1);
    border: 2px solid var(--blush-pink);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.confirmation-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.confirmation-checkbox label {
    display: flex;
    align-items: start;
    gap: 1rem;
    cursor: pointer;
    color: var(--deep-moss);
    line-height: 1.6;
}

.confirmation-checkbox .checkbox-text {
    font-weight: 600;
    font-size: 1.05rem;
}

.confirmation-checkbox .help-text {
    font-size: 0.9rem;
    color: var(--deep-moss);
    opacity: 0.7;
    margin-left: 2.5rem;
}

/* Responsive Review Section */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .edit-button {
        width: 100%;
    }

    .review-dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .review-dl dt {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .confirmation-checkbox label {
        flex-direction: column;
        gap: 0.75rem;
    }

    .confirmation-checkbox .help-text {
        margin-left: 0;
    }
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 249, 244, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(138, 152, 118, 0.2);
    border-top-color: var(--sage-green);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-strong);
}

.modal-content h3 {
    color: var(--deep-moss);
    margin-bottom: 1.5rem;
    font-family: var(--secondary-font);
    font-size: 1.75rem;
}

.modal-body {
    color: var(--deep-moss);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.modal-body li {
    margin-bottom: 0.75rem;
}

/* Mobile Price Summary */
.mobile-price-summary {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--sage-green);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-weight: 600;
    color: var(--deep-moss);
}

.summary-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sage-green);
}

.view-breakdown {
    background: var(--sage-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-content {
        grid-template-columns: 1fr;
    }

    .price-calculator-sidebar {
        display: none;
    }

    .mobile-price-summary {
        display: block;
    }
}

@media (max-width: 768px) {
    .booking-form-wrapper {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .participant-selector {
        grid-template-columns: 1fr;
    }

    .calendar-container {
        grid-template-columns: 1fr;
    }

    /* Responsive Cal.com embed */
    .cal-embed-container > div {
        height: 500px !important;
    }

    .workshop-options {
        grid-template-columns: 1fr;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-next,
    .btn-payment {
        width: 100%;
        margin-left: 0;
    }

    .btn-secondary {
        width: 100%;
    }
}

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

    .booking-form-wrapper {
        padding: 1.5rem;
    }

    .section-card {
        padding: 1.5rem;
    }

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

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* Custom Calendar Styles */
.calendar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.calendar {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

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

.calendar-header h3 {
    font-family: var(--secondary-font);
    color: var(--deep-moss);
}

.calendar-header button {
    background: var(--sage-green);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.calendar-header button:hover {
    background: var(--deep-moss);
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: var(--sage-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.calendar-days div {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-days div:hover:not(.disabled) {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
}

.calendar-days div.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.calendar-days div.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.time-slots-container {
    background: rgba(253, 249, 244, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
}

.time-slots-container h4 {
    font-family: var(--secondary-font);
    color: var(--deep-moss);
    margin-bottom: 1rem;
}

#time-slots {
    display: grid;
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
}

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

/* Enhanced Calendar Styles for Custom Component */

/* Calendar Day States */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    min-height: 40px;
}

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

.calendar-day.past {
    background: rgba(229, 189, 170, 0.1);
    color: rgba(80, 103, 74, 0.4);
    cursor: not-allowed;
    border-color: rgba(138, 152, 118, 0.1);
}

.calendar-day.available:hover {
    background: rgba(138, 152, 118, 0.1);
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 152, 118, 0.2);
}

.calendar-day.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 152, 118, 0.3);
}

.calendar-day.selected::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--rose-gold);
    border-radius: 50%;
}

/* Loading and Error States */
.loading-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.loading-slots .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(138, 152, 118, 0.2);
    border-top: 3px solid var(--sage-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.error-message {
    text-align: center;
    padding: 2rem;
    background: rgba(182, 110, 93, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(182, 110, 93, 0.2);
}

.error-text {
    color: var(--rose-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.error-help {
    color: var(--deep-moss);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.retry-btn {
    background: var(--sage-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--primary-font);
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: var(--deep-moss);
    transform: translateY(-1px);
}

/* No Slots Available State */
.no-slots {
    text-align: center;
    padding: 2rem;
    background: rgba(229, 189, 170, 0.05);
    border-radius: 15px;
}

.no-slots-text {
    color: var(--deep-moss);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-slots-help {
    color: var(--sage-green);
    font-size: 0.9rem;
}

/* Time Period Headers */
.time-period-header {
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--deep-moss);
    font-size: 1rem;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(138, 152, 118, 0.2);
}

.time-period-header:first-child {
    margin-top: 0;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Enhanced Time Slot Buttons */
#time-slots .time-slot {
    background: white;
    border: 1px solid rgba(138, 152, 118, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--primary-font);
    font-weight: 500;
    color: var(--deep-moss);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#time-slots .time-slot:hover {
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 152, 118, 0.2);
}

#time-slots .time-slot.selected {
    background: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 152, 118, 0.3);
}

#time-slots .time-slot.selected::after {
    content: '✓';
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .calendar-container {
        flex-direction: column;
    }
    
    .calendar {
        margin-bottom: 2rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .calendar-day {
        min-height: 35px;
        font-size: 0.9rem;
    }
    
    #time-slots .time-slot {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-days {
        gap: 0.25rem;
    }
    
    .calendar-day {
        min-height: 32px;
        font-size: 0.85rem;
    }
}

/* Calendar Helper Message */
.calendar-help {
    text-align: center;
    padding: 2rem;
    background: rgba(138, 152, 118, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(138, 152, 118, 0.2);
}

.help-text {
    color: var(--sage-green);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Booking Confirmation Styles */
.booking-confirmed {
    background: linear-gradient(135deg, rgba(138, 152, 118, 0.05), rgba(80, 103, 74, 0.08));
    border: 2px solid rgba(138, 152, 118, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.booking-confirmed h4 {
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.booking-id {
    font-family: 'Courier New', monospace;
    background: rgba(138, 152, 118, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--deep-moss);
}

.booking-note {
    background: rgba(229, 189, 170, 0.1);
    border-left: 4px solid var(--rose-gold);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-style: italic;
    color: var(--deep-moss);
    border-radius: 0 8px 8px 0;
}

/* Loading Overlay Active State */
.loading-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MOBILE TOUCH TARGETS - WCAG 2.5.5
   Booking-specific mobile touch targets
   ============================================ */
@media (max-width: 768px) {
    /* Counter buttons (participant selection) */
    .counter-btn {
        min-width: 44px;
        min-height: 44px;
        font-size: 1.5rem;
    }

    /* Workshop selection cards */
    .workshop-option {
        min-height: 44px;
        padding: 20px;
    }

    /* Calendar day cells */
    .calendar-day {
        min-height: 44px;
        min-width: 44px;
    }

    /* Add-on checkboxes and labels */
    .addon-item label {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 12px;
    }

    /* Progress step indicators */
    .progress-step {
        min-height: 44px;
        padding: 8px 4px;
    }

    /* Modal close buttons */
    .modal-close,
    .btn-primary {
        min-width: 44px;
        min-height: 44px;
    }
}
