/**
 * Frontend Scheduler Styles
 * File location: assets/css/scheduler.css
 */

/* ── Theme isolation ─────────────────────────────────────────────────────────
   Hello Elementor's reset.css applies:
     button, [type=button], [type=submit] { background-color: transparent;
       border: 1px solid #c36; color: #c36; }
   The [type=*] attribute selector has class-level specificity (0,1,0).
   Our #lec-scheduler prefix gives ID-level (1,0,X) which should win, but
   WordPress loads theme CSS after plugin CSS so we need !important on the
   three visual properties to guarantee the win.
─────────────────────────────────────────────────────────────────────────── */
#lec-scheduler button {
    color: #444 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    font-family: inherit !important;
    line-height: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

#lec-scheduler {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.lec-scheduler-header {
    background: white;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.lec-scheduler-header h2 {
    color: #333;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.lec-location-groups {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 10px 0;
}

.lec-location-group {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px 14px;
    background: #fafafa;
}

.lec-location-group-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.lec-location-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#lec-scheduler .lec-location-btn {
    background: white !important;
    color: #444 !important;
    border: 2px solid #ddd !important;
    padding: 10px 20px 10px 38px !important;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

/* Pin icon — inactive state (dark) */
#lec-scheduler .lec-location-btn::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Flag icon — active/selected state (white) */
#lec-scheduler .lec-location-btn.selected::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}

/* Flag icon — hover state (white) */
#lec-scheduler .lec-location-btn:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}

/* Computer icon — virtual inactive (dark) */
#lec-scheduler .lec-location-virtual::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
}

/* Computer icon — virtual active (white) */
#lec-scheduler .lec-location-virtual.selected::before,
#lec-scheduler .lec-location-virtual:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
}

.lec-location-group .lec-location-virtual {
    width: 100%;
    text-align: center;
}

#lec-scheduler .lec-location-btn:hover {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(102, 182, 187, 0.3);
}

#lec-scheduler .lec-location-btn.selected {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
}

/* Progress Steps - temporarily hidden */
.lec-progress-steps {
    display: none;
    justify-content: center;
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.lec-progress-step {
    display: flex;
    align-items: center;
    margin: 10px 15px;
}

.lec-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.lec-progress-step.active .lec-step-number {
    background: #66b6bb;
    color: white;
    transform: scale(1.1);
}

.lec-progress-step.completed .lec-step-number {
    background: #4caf50;
    color: white;
}

.lec-step-label {
    font-size: 14px;
    color: #999;
}

.lec-progress-step.active .lec-step-label {
    color: #333;
    font-weight: 600;
}

/* Step Container */
.lec-step-container {
    padding: 30px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lec-hidden {
    display: none !important;
}

.lec-step-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Age Selection */
.lec-age-selection,
.lec-consult-selection {
    text-align: center;
}

.lec-age-selection h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 30px;
}

/* DOB entry */
.lec-dob-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#lec-dob {
    width: 200px;
    font-size: 22px;
    text-align: center;
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    letter-spacing: 2px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

#lec-dob:focus {
    outline: none;
    border-color: #66b6bb;
}

#lec-dob.lec-dob-valid {
    border-color: #66b6bb;
}

#lec-dob.lec-dob-invalid {
    border-color: #e74c3c;
}

.lec-dob-error {
    color: #e74c3c;
    font-size: 13px;
    margin: 0;
}

#lec-scheduler .lec-dob-next-btn {
    background: #66b6bb !important;
    color: white !important;
    border: none !important;
    padding: 12px 36px !important;
    font-size: 16px !important;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

#lec-scheduler .lec-dob-next-btn:hover {
    background: #4a9a9f !important;
}

.lec-age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

#lec-scheduler .lec-age-btn,
#lec-scheduler .lec-consult-btn {
    background: white !important;
    color: #444 !important;
    border: 2px solid #ddd !important;
    padding: 20px 40px !important;
    font-size: 18px !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px !important;
    font-weight: 600;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    max-width: none;
    width: auto;
    display: inline-block;
    box-sizing: border-box;
}

/* Consult buttons get SVG icon treatment like location buttons */
#lec-scheduler .lec-consult-btn {
    padding: 20px 40px 20px 52px !important;
    position: relative;
}

/* Phone icon — inactive */
#lec-scheduler .lec-consult-btn[data-consult="phone"]::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.64 3.31 2 2 0 0 1 3.62 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.64a16 16 0 0 0 5.41 5.41l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Phone icon — selected/hover (white) */
#lec-scheduler .lec-consult-btn[data-consult="phone"].selected::before,
#lec-scheduler .lec-consult-btn[data-consult="phone"]:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.64 3.31 2 2 0 0 1 3.62 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.64a16 16 0 0 0 5.41 5.41l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Video icon — inactive */
#lec-scheduler .lec-consult-btn[data-consult="zoom"]::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Video icon — selected/hover (white) */
#lec-scheduler .lec-consult-btn[data-consult="zoom"].selected::before,
#lec-scheduler .lec-consult-btn[data-consult="zoom"]:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E");
}

#lec-scheduler .lec-age-btn:hover,
#lec-scheduler .lec-consult-btn:hover {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 182, 187, 0.3);
}

#lec-scheduler .lec-age-btn.selected,
#lec-scheduler .lec-consult-btn.selected {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
}

/* Calendar */
.lec-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fafafa;
    margin-bottom: 20px;
    border-radius: 8px;
}

#lec-scheduler .lec-nav-btn {
    background: white !important;
    border: 1px solid #ddd !important;
    padding: 10px 20px !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px !important;
    font-weight: 600;
    color: #444 !important;
    transition: all 0.3s ease;
}

#lec-scheduler .lec-nav-btn:hover {
    background: #66b6bb !important;
    border-color: #66b6bb !important;
    color: white !important;
}

#lec-scheduler .lec-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#lec-scheduler .lec-nav-btn:disabled:hover {
    background: white !important;
    border-color: #ddd !important;
    color: #444 !important;
}

#lec-week-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.lec-weekly-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.lec-day-column {
    text-align: center;
}

/* Empty day column in weekly view */
.lec-day-column--empty .lec-day-header {
    opacity: 1;
    color: #333;
    border-bottom-color: #e0e0e0;
}

.lec-no-slots {
    margin-top: 8px;
    padding: 18px 8px;
    background: #f7f7f7;
    border: 1px dashed #d0d0d0;
    border-radius: 6px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    font-style: italic;
}

.lec-day-header {
    font-weight: 600;
    color: #333;
    padding: 10px;
    font-size: 14px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 15px;
}

.lec-day-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.lec-time-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#lec-scheduler .lec-time-slot {
    background: white !important;
    color: #444 !important;
    border: 1px solid #ddd !important;
    padding: 10px 8px !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px !important;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.lec-slot-debug {
    display: block;
    font-size: 9px;
    opacity: 0.55;
    font-weight: 400;
    margin-top: 2px;
    font-family: monospace;
}

.lec-time-slot:hover .lec-slot-debug,
.lec-time-slot.selected .lec-slot-debug {
    opacity: 0.85;
}

#lec-scheduler .lec-time-slot:hover {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 182, 187, 0.3);
}

#lec-scheduler .lec-time-slot.selected {
    background: #66b6bb !important;
    color: white !important;
    border-color: #66b6bb !important;
}

#lec-scheduler .lec-time-slot.unavailable {
    background: #e0e0e0 !important;
    color: #666 !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

#lec-scheduler .lec-time-slot.unavailable:hover {
    background: #e0e0e0 !important;
    color: #666 !important;
    transform: none;
    box-shadow: none;
    border-color: #ccc !important;
}

.lec-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
    grid-column: 1 / -1;
}

.lec-loading .lec-spinner {
    margin: 0 auto 16px;
    width: 36px;
    height: 36px;
    border-width: 3px;
}

/* Geo-location suggestion banner */
.lec-geo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #e8f4fd;
    border-bottom: 1px solid #b3d9f2;
    font-size: 14px;
    color: #1a5276;
}

.lec-geo-banner.lec-geo-far {
    background: #f0e6ff;
    border-bottom-color: #d4b8f0;
    color: #4a1a7a;
}

#lec-scheduler .lec-geo-switch-btn {
    background: #1a5276 !important;
    color: #fff !important;
    border: none !important;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    margin-left: auto;
}

#lec-scheduler .lec-geo-banner.lec-geo-far .lec-geo-switch-btn {
    background: #6c3fa0 !important;
}

#lec-scheduler .lec-geo-switch-btn:hover {
    opacity: 0.85;
}

/* Policy Notice */
.lec-policy-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #ffa000;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.lec-policy-notice p {
    margin: 0 0 12px;
}

.lec-policy-notice p:last-child {
    margin-bottom: 0;
}

.lec-policy-help {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.lec-policy-help a {
    color: #66b6bb;
    font-weight: 600;
    text-decoration: none;
}

.lec-policy-help a:hover {
    text-decoration: underline;
}

/* Card Fields */
.lec-card-row {
    display: flex;
    gap: 15px;
}

.lec-card-exp {
    flex: 1;
}

.lec-card-cvv {
    flex: 0 0 100px;
}

.lec-card-zip {
    flex: 0 0 110px;
}

/* Stripe Elements */
#lec-stripe-card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s;
}

#lec-stripe-card-element.StripeElement--focus {
    border-color: #66b6bb;
    box-shadow: 0 0 0 1px rgba(102, 182, 187, 0.2);
}

#lec-stripe-card-element.StripeElement--invalid {
    border-color: #dc3545;
}

.lec-stripe-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    min-height: 20px;
}

.lec-stripe-note {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Form */
.lec-appointment-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #66b6bb;
}

.lec-appointment-summary p {
    margin: 8px 0;
    color: #333;
}

/* Form Rows */
.lec-form-row {
    display: flex;
    gap: 15px;
}

.lec-form-row .lec-form-group {
    flex: 1;
}

.lec-form-group {
    margin-bottom: 20px;
}

.lec-form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.lec-form-group input,
.lec-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.lec-form-group input:focus,
.lec-form-group select:focus {
    outline: none;
    border-color: #66b6bb;
}

/* Validation error state */
.lec-field-error input,
.lec-field-error select {
    border-color: #66b6bb;
    box-shadow: 0 0 0 2px rgba(102, 182, 187, 0.15);
}

.lec-field-error label {
    color: #66b6bb;
}

#lec-scheduler .lec-btn-primary,
#lec-scheduler .lec-btn-primary:visited,
#lec-scheduler .lec-btn-primary:focus,
#lec-scheduler .lec-btn-primary:active {
    background: #66b6bb !important;
    color: white !important;
    border: none !important;
    padding: 15px 40px;
    font-size: 18px !important;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-weight: 600;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

#lec-scheduler .lec-btn-primary:hover {
    background: #4a9a9f !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 182, 187, 0.3);
}

#lec-scheduler .lec-btn-primary:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    transform: none;
}

#lec-scheduler .lec-btn-secondary,
#lec-scheduler .lec-btn-secondary:visited,
#lec-scheduler .lec-btn-secondary:focus,
#lec-scheduler .lec-btn-secondary:active {
    background: white !important;
    color: #444 !important;
    border: 2px solid #ddd !important;
    padding: 12px 30px;
    font-size: 16px !important;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
    text-decoration: none;
}

#lec-scheduler .lec-btn-secondary:hover {
    background: #66b6bb !important;
    border-color: #66b6bb !important;
    color: white !important;
}

/* Review Section */
.lec-review-box {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.lec-review-box h4 {
    color: #66b6bb;
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid #66b6bb;
    padding-bottom: 10px;
}

.lec-review-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.lec-review-row:last-child {
    border-bottom: none;
}

.lec-review-label {
    font-weight: 600;
    color: #666;
}

.lec-review-value {
    color: #333;
    text-align: right;
}

/* Confirmation Screen */
.lec-confirmation-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 25px;
}

.lec-confirmation-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #4caf50;
    color: white;
    font-size: 36px;
    line-height: 70px;
    margin: 0 auto 20px;
}

.lec-confirmation-box h3 {
    color: #333;
    font-size: 24px;
    margin: 0 0 10px;
}

.lec-confirm-subtext {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Loading Overlay */
.lec-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lec-loading-overlay p {
    color: white;
    font-size: 18px;
    margin-top: 20px;
}

.lec-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #66b6bb;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* Bottom calendar nav - mobile only */
.lec-calendar-nav-bottom {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lec-location-groups {
        flex-direction: column;
        gap: 10px;
    }
    
    .lec-location-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    #lec-scheduler .lec-location-btn {
        padding: 8px 14px 8px 38px;
        font-size: 13px;
    }
    
    .lec-weekly-calendar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* On mobile, hide empty columns in weekly view to keep list clean */
    .lec-day-column--empty {
        display: none;
    }
    
    .lec-day-column {
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 12px;
    }
    
    .lec-day-header {
        padding: 8px 0;
        margin-bottom: 8px;
    }
    
    .lec-time-slots {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    #lec-scheduler .lec-time-slot {
        flex: 0 0 auto;
        padding: 10px 16px;
    }
    
    .lec-age-buttons {
        flex-direction: column;
    }
    
    #lec-scheduler .lec-age-btn,
    #lec-scheduler .lec-consult-btn {
        width: 100%;
        font-size: 15px !important;
        padding: 14px 20px !important;
        min-width: unset !important;
    }
    
    .lec-calendar-nav {
        flex-direction: row;
        gap: 5px;
        padding: 12px 10px;
    }
    
    .lec-calendar-nav span {
        font-size: 14px;
        white-space: nowrap;
    }
    
    #lec-scheduler .lec-nav-btn {
        min-width: 36px;
        padding: 8px 12px;
    }
    
    .lec-progress-steps {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .lec-calendar-nav-bottom {
        display: flex;
        margin-top: 15px;
    }
    
    .lec-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .lec-card-row {
        flex-direction: column;
        gap: 0;
    }
    
    .lec-card-cvv {
        flex: 1;
    }
    
    .lec-card-zip {
        flex: 1;
    }

    .lec-geo-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    #lec-scheduler .lec-geo-switch-btn {
        margin-left: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    #lec-scheduler {
        margin: 20px 10px;
    }
    
    .lec-step-container {
        padding: 20px;
    }
}

/* Existing Appointment Warning Modal */
.lec-existing-appt-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.lec-existing-appt-overlay[style*="block"] {
    display: flex;
}

.lec-existing-appt-modal {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 440px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lec-existing-appt-modal p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px;
}

.lec-existing-appt-modal a {
    color: #66b6bb;
    text-decoration: none;
}

#lec-scheduler .lec-existing-appt-close {
    background: #66b6bb;
    border: 1px solid #66b6bb;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    transition: all 0.2s ease;
    display: inline-block;
}

#lec-scheduler .lec-existing-appt-close:hover {
    background: #559ea3;
    border-color: #559ea3;
    color: #fff;
}

#lec-scheduler .lec-existing-appt-close:focus,
#lec-scheduler .lec-existing-appt-close:active,
#lec-scheduler .lec-existing-appt-close:visited {
    background: #66b6bb;
    border-color: #66b6bb;
    color: #fff;
    outline: none;
    box-shadow: none;
}
