/* Enhanced Modern Booking Styles - Teal Theme */
.booking-section {
    padding: 140px 0 var(--spacing-2xl);
    background: var(--bg-gradient);
    min-height: 100vh;
}

.booking-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.booking-header h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.step span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.step.active .step-circle {
    background: var(--primary-gradient);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

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

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 var(--spacing-md);
}

.booking-form-container {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.booking-step h2 {
    font-size: 30px;
    margin-bottom: var(--spacing-lg);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-selection {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.service-option {
    cursor: pointer;
}

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

.service-card-booking {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
}

.service-option input[type="radio"]:checked + .service-card-booking {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.05) 0%, rgba(79, 209, 197, 0.02) 100%);
    box-shadow: 0 4px 16px rgba(79, 209, 197, 0.15);
}

.service-card-booking h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-card-booking p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.service-price {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(79, 209, 197, 0.3);
}

.calendar-container {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.calendar-header h3 {
    font-size: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.calendar-nav:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

/* FIXED CALENDAR GRID - THIS IS THE KEY FIX */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    background: white;
    font-weight: 500;
    border: 1px solid transparent;
}

.calendar-day:not(.empty):not(.past):not(.unavailable):hover {
    background: rgba(79, 209, 197, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

.calendar-day.today {
    border: 2px solid var(--primary);
}

.calendar-day.past,
.calendar-day.unavailable {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

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

.time-slots-container {
    margin-bottom: var(--spacing-lg);
}

.time-slots-container h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.time-slot {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    background: white;
}

.time-slot:not(.unavailable):hover {
    background: rgba(79, 209, 197, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

.time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-summary {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.08) 0%, rgba(79, 209, 197, 0.03) 100%);
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.booking-summary h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

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

.summary-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.customer-form {
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.checkbox-group a {
    color: var(--primary);
    font-weight: 600;
}

.booking-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    margin-top: var(--spacing-xl);
}

.success-message {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.success-message h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.confirmation-details {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
    }
    .step-line {
        width: 2px;
        height: 40px;
        margin: 10px 0;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    .booking-actions {
        flex-direction: column;
    }
}
/* Break out of container → full width feel */
#calendly-container {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-top: 50px;
}

/* Bigger + cleaner embed */
.calendly-inline-widget {
    width: 100% !important;
    height: 950px !important;
    border-radius: 0px; /* full-bleed look */
    overflow: hidden;
}
.calendly-inline-widget {
    height: 1000px !important;
}
/* Chrome, Edge, Safari */
.calendly-inline-widget::-webkit-scrollbar {
    width: 8px;
}

.calendly-inline-widget::-webkit-scrollbar-track {
    background: transparent;
}

.calendly-inline-widget::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.calendly-inline-widget::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* Firefox */
.calendly-inline-widget {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}
/* Smooth fade */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .calendly-inline-widget {
        height: 700px !important;
    }
}
