body.aura-halloween {
    --fm-primary: #64249A;
    --fm-primary-hover: #7B35B2;
    --fm-primary-light: #2B1C38;
    --fm-background: #0B0810;
    --fm-surface: #1B1422;
    --fm-border: #40304C;
    --fm-text: #F5EFF8;
    --fm-text-light: #C1B5C9;
    background: #0B0810;
    color: #F5EFF8;
    color-scheme: dark;
}

body.aura-halloween .fm-app,
body.aura-halloween .fm-main,
body.aura-halloween .fm-workspace,
body.aura-halloween .fm-content,
body.aura-halloween .fm-page,
body.aura-halloween .fm-feature-content {
    background-color: #0B0810;
    color: #F5EFF8;
}

body.aura-halloween .fm-sidebar,
body.aura-halloween .fm-logo {
    background-color: #1B1422;
}

body.aura-halloween .fm-topbar { background-color: #1B1422; color: #F5EFF8; border-color: #40304C; }

body.aura-halloween .fm-logo::before {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    background: url("../assets/logo-spooky.jpeg") center / contain no-repeat;
}

body.aura-halloween .fm-card,
body.aura-halloween .fm-reservation-class,
body.aura-halloween .fm-calendar,
body.aura-halloween .fm-modal-content {
    background-color: #1B1422;
    color: #F5EFF8;
    border-color: #40304C;
}

body.aura-halloween .fm-menu-item,
body.aura-halloween .fm-reservation-class-time,
body.aura-halloween .fm-reservation-class-capacity,
body.aura-halloween .fm-text-muted {
    color: #C1B5C9;
}

body.aura-halloween .fm-button.primary,
body.aura-halloween .fm-button-primary {
    background-color: #64249A;
    border-color: #64249A;
}

body.aura-halloween .fm-button:not(.primary):hover,
body.aura-halloween .fm-menu-item:hover,
body.aura-halloween .fm-reservation-class:hover {
    border-color: #F47721;
}

.fm-client-reservation-times-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgb(20 17 24 / 60%);
}

.fm-client-reservation-times {
    width: min(520px, 100%);
    max-height: min(80vh, 680px);
    overflow: auto;
    padding: 22px;
    border: 1px solid #E5DCEB;
    border-radius: 20px;
    background: #FFFFFF;
    color: #1F2937;
    box-shadow: 0 24px 70px rgb(0 0 0 / 45%);
}

.fm-client-reservation-times h2 { margin: 0 0 5px; }
.fm-client-reservation-times p { color: #6B7280; }
.fm-client-reservation-time-list { display: grid; gap: 9px; margin-top: 18px; }
.fm-client-reservation-time-list button {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #E5DCEB;
    border-radius: 12px;
    background: #F8F5FA;
    color: #1F2937;
    text-align: left;
}
 .fm-client-reservation-time-list button:hover,
 .fm-client-reservation-time-list button:focus-visible {
    border-color: #F47721;
    outline: 2px solid #F47721;
}

 .fm-client-reservation-class {
    width: 100%;
    min-height: 64px;
    padding: 12px 14px;
    text-align: left;
}
.fm-client-reservation-class .fm-reservation-class-content { display: grid; gap: 5px; }
.fm-client-reservation-class .fm-reservation-class-content small,
.fm-client-reservation-class-count { color: #6B7280; font-size: 12px; }
.fm-client-reservation-class-count { margin-left: auto; white-space: nowrap; }

body.aura-halloween .fm-client-reservation-times {
    border-color: #40304C;
    background: #1B1422;
    color: #F5EFF8;
}
body.aura-halloween .fm-client-reservation-times p,
body.aura-halloween .fm-client-reservation-class .fm-reservation-class-content small,
body.aura-halloween .fm-client-reservation-class-count { color: #C1B5C9; }
body.aura-halloween .fm-client-reservation-time-list button { border-color: #40304C; background: #241A2D; color: #F5EFF8; }
body.aura-halloween .fm-client-reservation-times-backdrop { background: rgb(11 8 16 / 78%); }

body.aura-halloween [class*="fm-my-reservation"],
body.aura-halloween [class*="fm-my-attendance"],
body.aura-halloween [class*="fm-profile"] {
    border-color: #40304C;
    color: #F5EFF8;
}
body.aura-halloween .fm-my-reservation-card,
body.aura-halloween .fm-my-reservations-empty,
body.aura-halloween .fm-my-attendance-section,
body.aura-halloween .fm-my-attendance-stat,
body.aura-halloween .fm-my-attendance-item,
body.aura-halloween .fm-my-attendance-empty,
body.aura-halloween .fm-profile-section,
body.aura-halloween .fm-profile-information,
body.aura-halloween .fm-profile-membership-card {
    background-color: #1B1422;
}
body.aura-halloween [class*="fm-my-reservation"] p,
body.aura-halloween [class*="fm-my-reservation"] small,
body.aura-halloween [class*="fm-my-attendance"] p,
body.aura-halloween [class*="fm-my-attendance"] small,
body.aura-halloween [class*="fm-profile"] p,
body.aura-halloween [class*="fm-profile"] small,
body.aura-halloween [class*="fm-profile"] label {
    color: #C1B5C9;
}
body.aura-halloween .fm-profile-page [class*="card"],
body.aura-halloween .fm-profile-information,
body.aura-halloween .fm-profile-section { border-color: #40304C; }

/* Shared desktop application surfaces: managers, coaches, and clients. */
body.aura-halloween .fm-form,
body.aura-halloween .fm-form-section,
body.aura-halloween .fm-table-wrapper,
body.aura-halloween .fm-notification-panel,
body.aura-halloween .fm-notification-item,
body.aura-halloween .reports-controls,
body.aura-halloween .reports-summary article,
body.aura-halloween .reports-table-scroll,
body.aura-halloween .fm-payment-dialog,
body.aura-halloween .manual-reservation-dialog,
body.aura-halloween .fm-modal {
    background-color: #1B1422;
    color: #F5EFF8;
    border-color: #40304C;
}

body.aura-halloween .fm-form label,
body.aura-halloween .fm-form-section label,
body.aura-halloween .reports-controls > label,
body.aura-halloween .reports-summary span,
body.aura-halloween .reports-heading p,
body.aura-halloween .fm-notification-item small,
body.aura-halloween .fm-notification-item p,
body.aura-halloween .manual-reservation-dialog label,
body.aura-halloween .fm-payment-dialog label {
    color: #C1B5C9;
}

body.aura-halloween .fm-form input,
body.aura-halloween .fm-form select,
body.aura-halloween .fm-form textarea,
body.aura-halloween .reports-controls input,
body.aura-halloween .manual-reservation-dialog input,
body.aura-halloween .manual-reservation-dialog select,
body.aura-halloween .fm-payment-dialog input,
body.aura-halloween .fm-payment-dialog select {
    background-color: #241B2C;
    color: #F5EFF8;
    border-color: #51405D;
    color-scheme: dark;
}

body.aura-halloween .reports-heading h2,
body.aura-halloween .reports-summary strong,
body.aura-halloween .manual-reservation-dialog h2,
body.aura-halloween .manual-reservation-dialog h3,
body.aura-halloween .fm-payment-dialog h2,
body.aura-halloween .fm-table th,
body.aura-halloween .fm-table td {
    color: #F5EFF8;
}

body.aura-halloween .reports-table th,
body.aura-halloween .reports-table td,
body.aura-halloween .reports-table tbody tr:nth-child(even),
body.aura-halloween .reports-table tbody tr:hover,
body.aura-halloween .manual-time,
body.aura-halloween .manual-selected,
body.aura-halloween .manual-single-class,
body.aura-halloween .fm-table tbody tr:nth-child(even) {
    background-color: #241B2C;
    color: #F5EFF8;
}

body.aura-halloween .fm-notification-count,
body.aura-halloween .fm-notification-item.unread,
body.aura-halloween .fm-badge,
body.aura-halloween .reports-eyebrow {
    border-color: #F47721;
    color: #F47721;
}

body.aura-halloween .fm-reservation-class,
body.aura-halloween .fm-reservation-schedule-card,
body.aura-halloween .fm-dashboard-card,
body.aura-halloween .fm-stat-card,
body.aura-halloween .fm-schedule-card,
body.aura-halloween .schedule-card {
    background-color: #1B1422;
    color: #F5EFF8;
    border-color: #40304C;
}

body.aura-halloween .fm-client-reservation-times-backdrop,
body.aura-halloween .manual-reservation-backdrop,
body.aura-halloween .fm-payment-backdrop { background: rgb(11 8 16 / 78%); }

@media (prefers-reduced-motion: reduce) {
    body.aura-halloween *,
    body.aura-halloween *::before,
    body.aura-halloween *::after { transition-duration: 0.01ms !important; }
}
