﻿:root {
    --app-accent: #6f8f72;
    --app-accent-strong: #5f7f63;
    --app-accent-soft: #edf5ee;
    --app-bg: #f4f1ea;
    --app-bg-soft: #fbfaf6;
    --app-surface: rgba(255, 255, 255, 0.5);
    --app-surface-strong: #ffffff;
    --app-border: rgba(169, 185, 170, 0.38);
    --app-border-strong: rgba(169, 185, 170, 0.52);
    --app-shadow: 0 24px 60px rgba(52, 70, 56, 0.1);
    --app-shadow-soft: 0 12px 30px rgba(52, 70, 56, 0.06);
    --app-text: #223127;
    --app-muted: #68756c;
    --app-danger: #b55252;
    --app-danger-soft: #f9eded;
    --app-radius-xl: 30px;
    --app-radius-lg: 24px;
    --app-radius-md: 18px;
    --app-radius-sm: 14px;
    --app-container: 1180px;
    --app-container-wide: 1280px;
}

html {
    min-height: 100%;
    font-size: 16px;
    background:
        radial-gradient(circle at top left, rgba(111, 143, 114, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(232, 225, 210, 0.68), transparent 28%),
        linear-gradient(180deg, #f6f3ed 0%, #fbfaf7 100%);
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    font-family: "Aptos", "Segoe UI", sans-serif;
    color: var(--app-text);
    background: transparent;
}

body::after {
    content: "";
    position: fixed;
    left: -2.25rem;
    bottom: 5px;
    width: min(68vw, 830px);
    height: min(42vw, 510px);
    background: url("/images/HORSEbackground.svg") no-repeat center bottom / contain;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--app-accent-strong);
    text-decoration: none;
}

a:hover {
    color: #4f6f53;
}

.app-body {
    display: flex;
    flex-direction: column;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.75rem 0 0;
}

.app-shell-main {
    flex: 1 1 auto;
    padding: 1rem 0 2rem;
}

.app-container {
    width: min(100% - 1.5rem, var(--app-container));
    margin: 0 auto;
}

.app-container-wide {
    width: min(100% - 1.5rem, var(--app-container-wide));
}

.app-navbar {
    padding: 0;
}

.app-navbar .app-container {
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 26px rgba(52, 70, 56, 0.06);
    backdrop-filter: blur(8px);
}

.app-header-bar {
    display: grid;
    gap: 0.85rem;
}

.app-header-brand-row,
.app-header-brand-main {
    display: flex;
    align-items: center;
}

.app-header-brand-row {
    justify-content: space-between;
    gap: 1rem;
}

.app-header-brand-main {
    gap: 0.85rem;
    min-width: 0;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--app-text);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-right: 1.1rem;
    padding-right: 1rem;
    min-width: min(100%, 21rem);
    border-right: none;
    flex-shrink: 0;
}

.app-brand:hover,
.app-brand:focus {
    color: var(--app-text);
}

.app-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 2.7rem;
    max-width: min(13.75rem, 30vw);
}

.app-brand-wordmark-wrap {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.app-brand-wordmark {
    display: block;
    width: auto;
    height: auto;
    max-height: 2.3rem;
    max-width: min(14rem, 28vw);
}

.app-navbar .navbar-toggler {
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 0.55rem 0.7rem;
}

.app-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(111, 143, 114, 0.16);
}

.app-navbar .navbar-toggler-icon {
    filter: invert(21%) sepia(14%) saturate(687%) hue-rotate(78deg) brightness(95%) contrast(86%);
}

.app-nav-list,
.app-auth-nav {
    gap: 0.25rem;
}

.app-nav-list .nav-item,
.app-auth-nav .nav-item {
    position: relative;
}

.app-nav-list .nav-item + .nav-item,
.app-auth-nav:not(.app-auth-nav-authenticated) .nav-item + .nav-item {
    margin-left: 0.2rem;
    padding-left: 0.55rem;
}

.app-nav-list .nav-item + .nav-item::before,
.app-auth-nav:not(.app-auth-nav-authenticated) .nav-item + .nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 1rem;
    transform: translateY(-50%);
    background: rgba(169, 185, 170, 0.55);
    pointer-events: none;
}

.app-navbar .nav-link {
    padding: 0.58rem 0.8rem;
    border-radius: 14px;
    color: var(--app-muted);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus {
    color: var(--app-text);
    background: rgba(237, 245, 238, 0.72);
}

.app-nav-current {
    color: var(--app-text) !important;
    background: rgba(237, 245, 238, 0.96);
}

.app-navbar .navbar-collapse {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.app-nav-list {
    align-items: center;
    flex-wrap: wrap;
}

.app-nav-list .nav-link {
    position: relative;
}

.app-nav-list .app-nav-current {
    box-shadow: inset 0 0 0 1px rgba(111, 143, 114, 0.12);
}

.app-admin-nav-item {
    display: flex;
    align-items: center;
}

.app-admin-nav-toggle {
    padding-left: 0.45rem;
    padding-right: 0.55rem;
}

.app-admin-nav-toggle::after {
    margin-left: 0;
}

.app-header-account {
    margin-left: auto;
}

.app-header-account-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.05rem;
    padding: 0 0.8rem;
    margin-left: auto;
    min-width: max-content;
}

.app-auth-nav {
    align-items: center;
    padding-left: 0.9rem;
    border-left: none;
}

.app-auth-nav-authenticated {
    align-items: center;
    gap: 0;
}

.app-account-label {
    color: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-account-name {
    color: var(--app-text);
    font-size: 0.94rem;
    font-weight: 700;
    text-align: left;
}

.app-account-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-account-actions > * {
    position: relative;
}

.app-account-actions > * + * {
    margin-left: 0.2rem;
    padding-left: 0.55rem;
}

.app-account-actions > * + *::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 1rem;
    transform: translateY(-50%);
    background: rgba(169, 185, 170, 0.55);
    pointer-events: none;
}

.app-account-actions form {
    margin: 0;
}

.app-account-actions .nav-link {
    display: inline-flex;
    align-items: center;
}

.app-dropdown-menu {
    margin-top: 0.65rem;
    padding: 0.6rem;
    border: 1px solid var(--app-border-strong);
    border-radius: 20px;
    box-shadow: var(--app-shadow-soft);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.app-dropdown-menu .dropdown-item {
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    font-weight: 600;
    color: var(--app-muted);
}

.app-admin-nav-dropdown .dropdown-toggle::after {
    margin-left: 0.45rem;
}

.app-admin-nav-trigger {
    border: 0;
    background: transparent;
}

@media (min-width: 992px) {
    .app-admin-nav-dropdown {
        position: relative;
    }

    .app-admin-nav-dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 2px);
        height: 0.75rem;
    }

    .app-admin-nav-dropdown:hover > .dropdown-menu {
        display: block;
    }

    .app-admin-nav-dropdown > .dropdown-menu {
        top: calc(100% + 0.35rem);
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .app-admin-nav-dropdown {
        display: block;
    }

    .app-admin-nav-dropdown > .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        margin-top: 0.35rem;
        margin-bottom: 0.4rem;
        box-shadow: none;
        backdrop-filter: none;
    }

    .app-admin-nav-trigger {
        width: 100%;
        text-align: left;
    }
}

.app-page-shell {
    position: relative;
    padding-top: 0.25rem;
}

.app-page {
    display: grid;
    gap: 1.25rem;
}

.app-page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--app-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.app-page-breadcrumb span + span::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(104, 117, 108, 0.72);
}

.app-page-header {
    padding: 1.6rem 1.4rem 0.35rem;
}

.app-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(70, 88, 66, 0.12);
    background: rgba(247, 244, 236, 0.92);
}

.app-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 14px 20px 20px;
}

.app-footer-left,
.app-footer-links,
.app-footer-meta {
    display: flex;
    align-items: center;
}

.app-footer-left {
    gap: 0;
}

.app-footer-meta {
    margin-left: auto;
    gap: 0;
    justify-content: flex-end;
    text-align: right;
}

.app-footer-copy,
.app-footer-link,
.app-footer-contact-link {
    color: #5f675f;
    font-size: 0.95rem;
}

.app-footer-links {
    gap: 0;
}

.app-footer-contact-link {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0 18px 0 0;
    margin-right: 18px;
}

.app-footer-link {
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0 18px 0 0;
    margin-right: 18px;
}

.app-footer-social-link,
.app-footer-contact-link,
.app-footer-link,
.app-footer-copy {
    position: relative;
}

.app-footer-social-link + .app-footer-social-link::before,
.app-footer-social-link + .app-footer-contact-link::before,
.app-footer-contact-link + .app-footer-contact-link::before,
.app-footer-link + .app-footer-link::before,
.app-footer-link + .app-footer-copy::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    width: 1px;
    height: 1rem;
    background: rgba(95, 103, 95, 0.3);
    transform: translateY(-50%);
}

.app-footer-link:hover,
.app-footer-link:focus-visible,
.app-footer-contact-link:hover,
.app-footer-contact-link:focus-visible {
    color: #2f5e46;
    text-decoration: underline;
}

.app-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: #5f675f;
    text-decoration: none;
    padding: 0 18px 0 0;
    margin-right: 18px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.app-footer-social-link svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.app-footer-social-link:hover,
.app-footer-social-link:focus-visible {
    color: #2f5e46;
    transform: translateY(-1px);
}

.app-footer-copy {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .app-footer-inner,
    .app-footer-left,
    .app-footer-links,
    .app-footer-meta {
        flex-wrap: wrap;
    }

    .app-footer-inner {
        justify-content: center;
    }

    .app-footer-links {
        width: 100%;
        justify-content: center;
    }

    .app-footer-meta {
        justify-content: center;
    }

    .app-footer-copy {
        white-space: normal;
        text-align: center;
    }
}

.app-markdown-page {
    padding: 28px 32px;
}

.app-markdown-meta {
    margin-bottom: 18px;
    color: #6b736b;
    font-size: 0.95rem;
}

.app-markdown-content {
    color: #293129;
    line-height: 1.8;
}

.app-markdown-content h1,
.app-markdown-content h2,
.app-markdown-content h3,
.app-markdown-content h4 {
    margin-top: 1.8rem;
    margin-bottom: 0.85rem;
    color: #223322;
}

.app-markdown-content h1:first-child,
.app-markdown-content h2:first-child,
.app-markdown-content h3:first-child {
    margin-top: 0;
}

.app-markdown-content p,
.app-markdown-content ul,
.app-markdown-content ol {
    margin-bottom: 1rem;
}

.app-markdown-content ul,
.app-markdown-content ol {
    padding-left: 1.4rem;
}

.app-markdown-content a {
    color: #2f5e46;
}

.app-markdown-content hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid rgba(70, 88, 66, 0.14);
}

.app-page-eyebrow {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--app-accent-soft);
    color: var(--app-accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-page-title {
    margin: 0;
    font-size: clamp(1.72rem, 3vw, 2.4rem);
    line-height: 1.08;
    font-weight: 750;
}

.app-shell-main > .app-container > h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.68rem, 2.75vw, 2.2rem);
    line-height: 1.1;
    font-weight: 750;
}

.app-page-description,
.app-text-muted {
    color: var(--app-muted);
}

.app-page-description {
    max-width: 46rem;
    margin: 0.75rem 0 0;
    font-size: 1rem;
}

.app-card,
.app-panel,
.app-list-item,
.app-stat,
.app-empty-state {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-soft);
    backdrop-filter: blur(4px);
}

.app-card,
.app-panel {
    padding: 1.25rem;
}

.app-panel-muted {
    background: rgba(252, 252, 248, 0.5);
}

.app-panel-warning {
    border-color: rgba(192, 159, 67, 0.42);
    background: linear-gradient(180deg, rgba(255, 248, 223, 0.98), rgba(255, 253, 245, 0.98));
    box-shadow: 0 8px 22px rgba(192, 159, 67, 0.10);
}

.app-panel-warning-copy {
    color: #7d612b;
}

.app-grid {
    display: grid;
    gap: 1rem;
}

.app-grid-hero,
.app-grid-2,
.app-stats-grid,
.app-link-grid {
    display: grid;
    gap: 1rem;
}

.app-stat {
    padding: 1rem 1.1rem;
}

.app-stat-label {
    margin: 0;
    color: var(--app-muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.app-stat-value {
    margin: 0.35rem 0 0;
    font-size: 1.65rem;
    font-weight: 750;
    color: var(--app-text);
}

.app-home-ad-card {
    padding: 0.2rem;
    overflow: hidden;
}

.app-home-public-widgets {
    align-self: start;
}

.app-home-info-grid {
    display: grid;
    gap: 1rem;
}

.app-home-hero-card {
    align-self: start;
}

.app-home-ad-image {
    display: block;
    width: calc(100% + 1.6rem);
    height: auto;
    max-width: none;
    margin: -0.8rem;
    border-radius: calc(var(--app-radius-lg) - 6px);
}

.app-home-contact-card {
    padding: 1.2rem;
    align-self: start;
}

.app-home-stabling-card {
    padding: 1.2rem;
    align-self: start;
}

.app-home-booking-types-card {
    padding: 1.2rem;
    align-self: start;
}

.app-home-contact-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.app-home-contact-list {
    display: grid;
    gap: 0.85rem;
}

.app-home-contact-item {
    display: grid;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(169, 185, 170, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
}

.app-home-contact-label {
    color: var(--app-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-home-contact-item strong,
.app-home-contact-item a,
.app-home-contact-item span:last-child {
    font-size: 1rem;
}

.app-home-service-list {
    display: grid;
    gap: 0.85rem;
}

.app-home-service-item {
    padding: 1rem 1rem 0.95rem;
    border: 1px solid rgba(169, 185, 170, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
}

.app-home-service-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.app-home-service-price {
    color: var(--app-accent-strong);
    font-size: 0.96rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-home-booking-type-list {
    display: grid;
    gap: 0.75rem;
}

.app-home-booking-type-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(169, 185, 170, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
}

.app-home-booking-type-meta {
    color: var(--app-accent-strong);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}


.app-home-calendar-card {
    padding: 1rem;
    align-self: start;
}

.app-home-calendar-header {
    margin-bottom: 0.85rem;
}

.app-home-calendar-weekdays,
.app-home-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.app-home-calendar-weekdays {
    margin-bottom: 0.45rem;
    color: var(--app-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

.app-home-calendar-day {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.28rem;
    min-height: 3rem;
    padding: 0.42rem 0.2rem 0.35rem;
    border: 1px solid rgba(169, 185, 170, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
}

.app-home-calendar-day.is-outside-month {
    opacity: 0.4;
}

.app-home-calendar-day.is-today {
    border-color: rgba(111, 143, 114, 0.35);
    background: rgba(237, 245, 238, 0.78);
}

.app-home-calendar-day-number {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--app-text);
}

.app-home-calendar-day-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--app-accent);
    box-shadow: 0 0 0 0.15rem rgba(111, 143, 114, 0.12);
}

.app-admin-home-widget {
    align-self: start;
}

.app-admin-booking-list,
.app-admin-booking-items {
    display: grid;
    gap: 0.85rem;
}

.app-admin-booking-day {
    display: grid;
    gap: 0.55rem;
}

.app-admin-booking-day-title {
    margin: 0;
    font-size: 1rem;
}

.app-admin-booking-item {
    padding: 0.9rem 1rem;
}

.app-admin-booking-filters {
    align-items: center;
}

.app-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(169, 185, 170, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--app-muted);
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.app-filter-chip:hover,
.app-filter-chip:focus {
    color: var(--app-text);
    background: rgba(237, 245, 238, 0.78);
    border-color: rgba(111, 143, 114, 0.24);
}

.app-filter-chip.is-active {
    color: var(--app-text);
    background: rgba(237, 245, 238, 0.96);
    border-color: rgba(111, 143, 114, 0.24);
}

.app-table-sort {
    color: inherit;
    font-weight: inherit;
}

.app-table-sort:hover,
.app-table-sort:focus {
    color: var(--app-text);
}

.app-admin-bookings-card {
    min-width: 0;
}

.app-admin-bookings-toolbar-group {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.app-admin-bookings-search {
    display: flex;
    flex: 1 1 28rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.app-admin-bookings-search-input {
    flex: 1 1 18rem;
    min-width: min(100%, 18rem);
}

.app-admin-bookings-table-card {
    max-width: 100%;
}

.app-admin-bookings-table-wrap {
    max-width: 100%;
}

.app-admin-bookings-table {
    width: 100%;
    min-width: 58rem;
}

.app-admin-bookings-table .app-table-sort {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.app-admin-bookings-table > :not(caption) > * > * {
    padding: 0.85rem 0.8rem;
}

.app-admin-bookings-table td:nth-child(2),
.app-admin-bookings-table td:nth-child(4),
.app-admin-bookings-table td:nth-child(5),
.app-admin-bookings-table td:nth-child(6),
.app-admin-bookings-table td:nth-child(7) {
    white-space: nowrap;
}

.app-admin-bookings-table td:nth-child(3) {
    min-width: 13rem;
}

.app-admin-bookings-actions-col,
.app-admin-bookings-table td:last-child {
    width: 1%;
    white-space: nowrap;
}

.app-admin-bookings-table th:last-child,
.app-admin-bookings-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #f8f6f0;
    box-shadow: -14px 0 18px -18px rgba(34, 49, 39, 0.38);
}

.app-admin-bookings-table thead th:last-child {
    z-index: 3;
    background: #f1eee6;
}

.app-admin-customers-card {
    min-width: 0;
}

.app-admin-customers-toolbar-group {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.app-admin-customers-search {
    display: flex;
    flex: 1 1 28rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.app-admin-customers-search-input {
    flex: 1 1 18rem;
    min-width: min(100%, 18rem);
}

.app-admin-customers-table {
    width: 100%;
    min-width: 52rem;
}

.app-admin-customers-table > :not(caption) > * > * {
    padding: 0.9rem 0.8rem;
    vertical-align: middle;
}

.app-admin-customers-table tbody tr {
    transition: background-color 0.18s ease;
}

.app-admin-customers-table tbody tr:hover {
    background: rgba(237, 245, 238, 0.5);
}

.app-admin-customers-table td:nth-child(1),
.app-admin-customers-table td:nth-child(3),
.app-admin-customers-table td:nth-child(4),
.app-admin-customers-table td:nth-child(5),
.app-admin-customers-table td:nth-child(6) {
    white-space: nowrap;
}

.app-customer-id {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-customer-name-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 12rem;
}

@media (max-width: 767.98px) {
    .app-admin-bookings-toolbar-group,
    .app-admin-customers-toolbar-group {
        align-items: stretch;
    }

    .app-admin-bookings-search,
    .app-admin-customers-search {
        width: 100%;
    }

    .app-admin-bookings-search .btn,
    .app-admin-customers-search .btn {
        width: 100%;
    }
}

.app-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-btn,
.btn.app-btn,
.btn.app-btn-primary,
.btn.app-btn-secondary,
.btn.app-btn-danger {
    min-height: 3rem;
    padding: 0.75rem 1.15rem;
    border-radius: 18px;
    font-weight: 700;
    border-width: 1px;
}

.app-btn-primary,
.btn-primary,
.btn.app-btn-primary {
    border-color: transparent;
    background: var(--app-accent);
    color: #fff;
    box-shadow: 0 14px 24px rgba(84, 120, 89, 0.2);
}

.app-btn-primary:hover,
.app-btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn.app-btn-primary:hover,
.btn.app-btn-primary:focus {
    background: var(--app-accent-strong);
    color: #fff;
    border-color: transparent;
}

.app-btn-secondary,
.btn-outline-secondary,
.btn.app-btn-secondary {
    border-color: var(--app-border-strong);
    background: rgba(255, 255, 255, 0.5);
    color: var(--app-text);
}

.app-btn-secondary:hover,
.app-btn-secondary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn.app-btn-secondary:hover,
.btn.app-btn-secondary:focus {
    border-color: #c2d0c3;
    background: var(--app-accent-soft);
    color: var(--app-text);
}

.app-btn-secondary-highlight,
.btn.app-btn-secondary-highlight {
    border-color: rgba(111, 143, 114, 0.28);
    background: linear-gradient(180deg, rgba(237, 245, 238, 0.98), rgba(228, 239, 230, 0.94));
    color: var(--app-text);
    box-shadow: 0 12px 24px rgba(84, 120, 89, 0.1);
}

.app-btn-secondary-highlight:hover,
.app-btn-secondary-highlight:focus,
.btn.app-btn-secondary-highlight:hover,
.btn.app-btn-secondary-highlight:focus {
    border-color: rgba(111, 143, 114, 0.4);
    background: linear-gradient(180deg, rgba(232, 242, 233, 1), rgba(221, 235, 223, 0.98));
    color: var(--app-text);
    box-shadow: 0 14px 26px rgba(84, 120, 89, 0.14);
}

.app-btn-danger,
.btn-danger,
.btn.app-btn-danger {
    border-color: transparent;
    background: var(--app-danger);
    color: #fff;
    box-shadow: 0 14px 24px rgba(181, 82, 82, 0.2);
}

.btn-outline-primary,
.btn-outline-danger {
    border-radius: 16px;
    font-weight: 700;
}

.btn-outline-primary {
    border-color: #bfd0c1;
    color: var(--app-accent-strong);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: transparent;
    background: var(--app-accent-soft);
    color: var(--app-accent-strong);
}

.btn-outline-danger {
    border-color: #e7c6c6;
    color: var(--app-danger);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background: var(--app-danger-soft);
    color: #913e3e;
}

.btn-link.nav-link {
    min-height: auto;
}

.form-label {
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--app-text);
}

.form-control,
.form-select {
    min-height: 3.15rem;
    border: 1px solid #d8e2d8;
    border-radius: 18px;
    background: #f8faf7;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #9cb39f;
    box-shadow: 0 0 0 0.2rem rgba(111, 143, 114, 0.16);
    background: #fff;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--app-text);
    -webkit-box-shadow: 0 0 0 1000px #f8faf7 inset;
    box-shadow: 0 0 0 1000px #f8faf7 inset;
    border-color: #d8e2d8;
    transition: background-color 5000s ease-in-out 0s;
}

.form-check-input:focus {
    border-color: #9cb39f;
    box-shadow: 0 0 0 0.2rem rgba(111, 143, 114, 0.16);
}

textarea.form-control {
    min-height: 8rem;
    padding-top: 0.85rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    min-height: 3.7rem;
    padding-top: 1.3rem;
    padding-bottom: 0.8rem;
}

.form-floating > label {
    padding: 1rem 1rem;
    color: var(--app-muted);
}

.form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    border-color: #b8c8ba;
}

.form-check-input:checked {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
}

.text-danger,
.validation-summary-errors,
.field-validation-error {
    color: #aa4e4e !important;
}

.alert {
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: var(--app-shadow-soft);
}

.alert-success {
    border-color: #d3e4d5;
    background: #eff7ef;
    color: #35563b;
}

.alert-danger {
    border-color: #edd3d3;
    background: #fbf1f1;
    color: #7d3a3a;
}

.alert-warning {
    border-color: #efdfc2;
    background: #fff7e9;
    color: #7d612b;
}

.app-form {
    display: grid;
    gap: 1rem;
}

.app-form-row {
    display: grid;
    gap: 1rem;
}

.app-form-field {
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: 22px;
    background: var(--app-bg-soft);
}

.app-section {
    display: grid;
    gap: 1rem;
}

.app-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.app-section-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
}

.app-table-card {
    overflow: hidden;
    padding: 0.35rem;
}

.app-table-wrap {
    overflow-x: auto;
    border-radius: calc(var(--app-radius-lg) - 4px);
}

.app-admin-bookings-scroll-sync {
    overflow-x: auto;
    overflow-y: hidden;
    position: sticky;
    top: 0.5rem;
    z-index: 2;
    height: 16px;
    margin-bottom: 0.5rem;
    background: var(--app-bg, #fff);
    border-radius: calc(var(--app-radius-lg) - 4px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.app-admin-bookings-scroll-sync-inner {
    height: 1px;
}

.app-table,
.table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(244, 247, 243, 0.92);
    --bs-table-hover-bg: rgba(237, 245, 238, 0.95);
    --bs-table-border-color: rgba(169, 185, 170, 0.24);
}

.app-table > :not(caption) > * > *,
.table > :not(caption) > * > * {
    padding: 0.95rem 1rem;
    vertical-align: middle;
}

.app-table thead th,
.table thead th {
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom-width: 1px;
}

.app-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-table-actions-compact {
    gap: 0.35rem;
}

.app-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
}

.app-action-btn-delete {
    border-color: #e6c9c9;
    background: rgba(255, 255, 255, 0.5);
    color: #a44b4b;
}

.app-action-btn-delete:hover,
.app-action-btn-delete:focus {
    border-color: #dcaeae;
    background: #fbeeee;
    color: #8e3f3f;
}

.app-action-btn-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.app-reservation-id {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--app-accent-soft);
    color: var(--app-accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.app-empty-state {
    padding: 2rem 1.25rem;
    text-align: center;
}

.app-empty-state h2,
.app-empty-state h3 {
    margin-bottom: 0.5rem;
}

.app-link-grid {
    grid-template-columns: minmax(0, 1fr);
}

.app-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-list-item:hover,
.app-list-item:focus {
    transform: translateY(-1px);
    border-color: #c2d0c3;
    color: inherit;
}

.app-list-copy {
    min-width: 0;
}

.app-list-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.app-list-meta {
    margin: 0.25rem 0 0;
    color: var(--app-muted);
}

.app-chevron {
    color: var(--app-muted);
    font-size: 1.2rem;
}

.app-auth {
    display: grid;
    gap: 1rem;
}

.app-auth-main {
    max-width: 32rem;
}

.app-auth-side {
    max-width: 28rem;
}

.app-help-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--app-muted);
}

.app-help-list li + li {
    margin-top: 0.5rem;
}

#calendar {
    width: 100%;
    margin-top: 0;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--app-shadow-soft);
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.fc .fc-button {
    min-height: 2.8rem;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 16px;
    background: var(--app-accent);
    box-shadow: none;
    font-weight: 700;
}

.fc .fc-button:hover,
.fc .fc-button:focus,
.fc .fc-button-active {
    background: var(--app-accent-strong) !important;
}

.fc .fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 750;
}

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number,
.fc .fc-list-day-text,
.fc .fc-list-day-side-text {
    color: var(--app-text);
}

.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
    border-color: rgba(169, 185, 170, 0.28);
}

.fc .fc-daygrid-event {
    border-radius: 999px;
    border: 1px solid rgba(111, 143, 114, 0.22);
    background: #edf5ee;
    color: var(--app-text);
}

.fc .fc-timegrid-event,
.fc .fc-h-event,
.fc .fc-v-event {
    border: 1px solid rgba(111, 143, 114, 0.24);
    background: #edf5ee;
    color: var(--app-text);
}

.fc .fc-event-title,
.fc .fc-event-time,
.fc .fc-daygrid-event-dot,
.fc .fc-event-main {
    color: var(--app-text);
}

.list-group {
    border-radius: var(--app-radius-lg);
    overflow: hidden;
}

.list-group-item {
    padding: 1rem 1.1rem;
    border-color: rgba(169, 185, 170, 0.24);
}

.modal-layout-body {
    background: transparent;
}

.modal-layout-body::after {
    content: none;
}

.modal-layout-main {
    padding: 0.75rem;
}

@media (min-width: 768px) {

.app-shell-main {
        padding: 1.35rem 0 3rem;
    }

    .app-page {
        gap: 1.5rem;
    }

    .app-page-header,
    .app-card,
    .app-panel {
        padding: 1.5rem;
    }

    .app-grid-hero {
        grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
        align-items: stretch;
    }

    .app-grid-2,
    .app-form-row,
    .app-auth {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .app-link-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-home-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .app-home-booking-types-card {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .app-home-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-home-booking-types-card {
        grid-column: auto;
    }
}

@media (max-width: 991.98px) {
    body::after {
        left: -2rem;
        bottom: 5px;
        width: min(90vw, 640px);
        height: min(58vw, 395px);
    }

    .app-navbar .app-container {
        border-radius: 24px;
        padding: 0.8rem;
    }

    .app-header-brand-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .app-header-brand-main {
        width: 100%;
        justify-content: space-between;
    }

    .app-header-account-info {
        min-width: 0;
    }

    .app-navbar .navbar-collapse {
        margin-top: 0.9rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(169, 185, 170, 0.24);
        align-items: stretch;
    }

    .app-nav-list {
        align-items: stretch;
    }

    .app-nav-list .nav-item + .nav-item,
    .app-auth-nav:not(.app-auth-nav-authenticated) .nav-item + .nav-item {
        margin-left: 0;
        padding-left: 0;
    }

    .app-nav-list .nav-item + .nav-item::before,
    .app-auth-nav:not(.app-auth-nav-authenticated) .nav-item + .nav-item::before {
        display: none;
    }

    .app-header-account {
        margin-left: 0;
    }

    .app-brand {
        min-width: 0;
        margin-right: 0;
        padding-right: 0;
        border-right: 0;
    }

    .app-auth-nav {
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        padding-left: 0;
        border-top: 1px solid rgba(169, 185, 170, 0.24);
        border-left: 0;
        align-items: stretch;
    }

    .app-auth-nav-authenticated {
        align-items: stretch;
    }

    .app-account-actions {
        align-items: center;
        flex-wrap: wrap;
    }

    .app-account-actions .nav-link {
        justify-content: flex-start;
    }

    .app-brand-logo {
        max-height: 2.3rem;
        max-width: min(11.5rem, 58vw);
    }

    .app-brand-wordmark {
        max-height: 1.8rem;
        max-width: min(9.75rem, 44vw);
    }

}

.app-stats-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-segmented-control {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.app-segmented-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    color: var(--app-muted);
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.app-segmented-option:hover,
.app-segmented-option:focus {
    color: var(--app-text);
    background: rgba(237, 245, 238, 0.76);
}

.app-segmented-option.is-active {
    color: var(--app-text);
    background: linear-gradient(180deg, rgba(237, 245, 238, 0.98), rgba(226, 238, 228, 0.96));
    box-shadow: 0 10px 20px rgba(84, 120, 89, 0.12);
}

.app-stats-summary-card {
    overflow: hidden;
}

.app-stats-summary-card.app-stat {
    padding: 1.1rem 1.15rem;
}

.app-stats-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.app-stats-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(237, 245, 238, 0.95), rgba(223, 236, 225, 0.9));
    color: var(--app-accent-strong);
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.app-stats-summary-icon-image {
    width: 1.45rem;
    height: 1.45rem;
    object-fit: contain;
}

.app-stats-note {
    margin: 0.65rem 0 0;
    color: var(--app-muted);
    font-size: 0.92rem;
}

.app-stats-note strong {
    color: var(--app-text);
}

.app-stats-detail-grid {
    display: grid;
    gap: 1rem;
}

.app-stats-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.app-stats-list-item {
    display: grid;
    gap: 0.45rem;
}

.app-stats-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-stats-list-label {
    margin: 0;
    font-weight: 700;
}

.app-stats-list-value {
    margin: 0;
    color: var(--app-text);
    font-weight: 700;
    white-space: nowrap;
}

.app-stats-bar-track {
    width: 100%;
    height: 0.72rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(223, 232, 223, 0.9);
}

.app-stats-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7ca07f 0%, #90b493 100%);
}

.app-stats-customer-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.app-stats-customer-card {
    padding: 1rem;
    border: 1px solid rgba(169, 185, 170, 0.24);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
}

.app-stats-customer-card .app-stat-label,
.app-stats-customer-card .app-stat-value {
    margin: 0;
}

.app-stats-period-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.app-stats-period-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(169, 185, 170, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--app-muted);
    font-weight: 600;
}

@media (min-width: 768px) {
    .app-stats-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .app-stats-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .app-stats-customer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.app-course-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.app-course-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-course-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.app-course-detail-list {
    display: grid;
    gap: 1rem;
}

.app-course-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.65);
}

.app-badge-course {
    background: #e3f4ea;
    color: #1f6b47;
}

.app-badge-muted {
    background: #eef1f5;
    color: #51606f;
}

.app-badge-accent {
    background: #fef1d6;
    color: #9a5d00;
}

.app-badge-success {
    background: #e3f4ea;
    color: #1f6b47;
}

.app-badge-danger {
    background: #f9e5e5;
    color: #9a4040;
}

.app-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.app-calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #f5f1ea;
    color: #4f4438;
    font-size: 0.92rem;
    font-weight: 600;
}

.app-calendar-legend-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.app-calendar-legend-swatch-course {
    background: #2f7d57;
}

.app-calendar-legend-swatch-lesson {
    background: #2e6f9e;
}

.app-calendar-legend-swatch-cancelled {
    background: #b64a4a;
}

.app-calendar-legend-swatch-block {
    background: #9a6a2f;
}

.app-stats-grid-four {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.app-stats-detail-grid-three {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.app-owned-course-card {
    position: relative;
    overflow: hidden;
}

.app-owned-course-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #1f6b47 0%, #4d9c73 100%);
}

.app-owned-course-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-owned-course-remaining {
    font-weight: 700;
    color: #1f6b47;
}

.app-badge-lesson {
    background: #f4e8dd;
    color: #805232;
}

.app-calendar-event-course {
    background-color: #dff2e5 !important;
    border-color: #8cc7a1 !important;
    color: #1f5b3f !important;
}

.app-calendar-event-lesson {
    background-color: #dceef8 !important;
    border-color: #88b8d8 !important;
    color: #194f77 !important;
}

.app-calendar-event-cancelled {
    background-color: #f7dddd !important;
    border-color: #de8f8f !important;
    color: #8d2f2f !important;
    text-decoration: line-through;
}

.app-calendar-event-block {
    background-color: #f6e8d4 !important;
    border-color: #d3a76b !important;
    color: #7a531f !important;
}

.app-calendar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.app-calendar-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.app-calendar-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.35rem;
    border: 1px solid rgba(169, 185, 170, 0.32);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(252, 252, 248, 0.96), rgba(245, 248, 243, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.app-calendar-view-option {
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--app-muted);
    font: inherit;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.app-calendar-view-option:hover,
.app-calendar-view-option:focus-visible {
    background: rgba(237, 245, 238, 0.9);
    color: var(--app-text);
    outline: none;
}

.app-calendar-view-option.is-active {
    background: var(--app-accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(111, 143, 114, 0.24);
}

.app-calendar-context-menu {
    position: fixed;
    z-index: 1080;
    min-width: 11rem;
    padding: 0.45rem;
    border: 1px solid rgba(169, 185, 170, 0.38);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(52, 70, 56, 0.14);
    backdrop-filter: blur(12px);
}

.app-calendar-context-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--app-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
}

.app-calendar-context-menu-item:hover,
.app-calendar-context-menu-item:focus {
    background: rgba(237, 245, 238, 0.88);
    outline: none;
}

#calendar .fc-toolbar {
    gap: 0.85rem;
    margin-bottom: 1rem;
}

#calendar .fc-toolbar-title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 750;
    color: var(--app-text);
}

#calendar .fc-button {
    border-radius: 14px;
}

#calendar .fc-daygrid-event {
    display: block;
    min-height: 2.35rem;
    margin-block: 2px;
    border-radius: 12px;
}

#calendar .fc-daygrid-event-harness {
    margin-bottom: 2px;
}

#calendar .fc-timegrid-slot-label-cushion,
#calendar .fc-col-header-cell-cushion,
#calendar .fc-list-day-text,
#calendar .fc-list-day-side-text {
    color: var(--app-text);
    font-weight: 700;
}

#calendar .fc-timegrid-axis-cushion {
    color: var(--app-muted);
}

#calendar .fc-list {
    border-color: #e5ece1;
    border-radius: 20px;
    overflow: hidden;
}

#calendar .fc-list-empty {
    background: linear-gradient(180deg, rgba(252, 252, 248, 0.94), rgba(245, 248, 243, 0.94));
}

#calendar .fc-list-empty-cushion {
    padding: 2rem 1.25rem;
    color: var(--app-muted);
    font-weight: 700;
    text-align: center;
}

#calendar .fc-list-event:hover td,
#calendar .fc-list-event td {
    background: transparent;
}

#calendar .fc-list-event-time {
    color: var(--app-muted);
    font-weight: 700;
    white-space: nowrap;
}

#calendar .fc-list-event-title {
    padding: 0.85rem 0.9rem;
}

#calendar .fc-timegrid-event-harness {
    margin-inline: 2px;
}

#calendar .fc-timegrid-event {
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(52, 70, 56, 0.08);
    min-height: 2.8rem;
}

#calendar .fc-daygrid-event .fc-event-main,
#calendar .fc-timegrid-event .fc-event-main {
    padding: 0.2rem 0.32rem;
    overflow: hidden;
}

#calendar .fc-timegrid-event .fc-event-main-frame,
#calendar .fc-timegrid-event .fc-event-title-container {
    min-width: 0;
}

#calendar .fc-timegrid-event .fc-event-time {
    padding-bottom: 0.1rem;
    font-weight: 700;
    white-space: normal;
}

#calendar .fc-daygrid-event .fc-event-title,
#calendar .fc-daygrid-event .fc-event-time,
#calendar .fc-timegrid-event .fc-event-time,
#calendar .fc-timegrid-event .fc-event-title {
    white-space: normal;
}

.app-calendar-event-card {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.app-calendar-event-card-time {
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0.95;
    white-space: nowrap;
}

.app-calendar-event-card-title {
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#calendar .fc-daygrid-day,
#calendar .fc-timegrid-slot-lane {
    cursor: context-menu;
}

@media (max-width: 767.98px) {
    .app-calendar-header {
        flex-direction: column;
    }

    .app-calendar-header-actions,
    .app-calendar-header-actions .app-btn {
        width: 100%;
    }

    .app-calendar-view-switch {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-calendar-view-option {
        width: 100%;
        text-align: center;
    }

    .app-calendar-event-card-time {
        font-size: 0.66rem;
    }

    .app-calendar-event-card-title {
        font-size: 0.7rem;
    }
}
.course-reserve-page {
    gap: 1.5rem;
}

.course-reserve-layout {
    align-items: start;
}

.course-reserve-summary {
    position: relative;
    overflow: hidden;
}

.course-reserve-booking-card {
    position: relative;
    overflow: visible;
}

.course-reserve-summary {
    background:
        linear-gradient(180deg, rgba(252, 252, 248, 0.94), rgba(245, 248, 243, 0.92)),
        radial-gradient(circle at top left, rgba(111, 143, 114, 0.12), transparent 48%);
    border-color: rgba(169, 185, 170, 0.32);
}

.course-reserve-summary::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(111, 143, 114, 0.14), transparent 68%);
    pointer-events: none;
}

.course-reserve-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.course-reserve-balance {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(47, 125, 87, 0.12);
    border-radius: 999px;
    background: rgba(227, 244, 234, 0.92);
    color: #1f6b47;
    font-weight: 700;
}

.course-reserve-summary-copy {
    max-width: 22rem;
    margin-top: 0.55rem;
}

.course-reserve-booking-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(252, 252, 248, 0.9)),
        radial-gradient(circle at top right, rgba(111, 143, 114, 0.1), transparent 38%);
    border-color: rgba(169, 185, 170, 0.3);
}

.course-reserve-booking-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #7ea882 0%, #98b89b 50%, #d8e7da 100%);
}

.course-reserve-booking-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.course-reserve-booking-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(241, 245, 239, 0.96);
    color: var(--app-accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.course-reserve-trainer-field {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 246, 0.96));
    border-color: rgba(169, 185, 170, 0.28);
}

.course-picker-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 246, 0.96));
    border-color: rgba(169, 185, 170, 0.28);
    box-shadow: 0 12px 28px rgba(63, 80, 67, 0.07);
}

.course-reservation-form .lesson-picker-layout {
    gap: 1rem;
}

.course-reservation-form .lesson-picker-head {
    align-items: center;
}

.course-reservation-form .lesson-selected-value {
    justify-content: center;
    min-width: 9.75rem;
    background: linear-gradient(180deg, rgba(241, 245, 239, 1), rgba(233, 240, 233, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.course-reservation-form .lesson-date-calendar {
    gap: 0.85rem;
}

.course-reservation-form .lesson-calendar-header {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
}

.course-reservation-form .lesson-calendar-title {
    font-size: 1.02rem;
}

.course-reservation-form .lesson-calendar-nav {
    width: 2.5rem;
    height: 2.5rem;
}

.course-reservation-form .lesson-calendar-weekdays,
.course-reservation-form .lesson-calendar-grid {
    gap: 0.45rem;
}

.course-reservation-form .lesson-calendar-day {
    display: grid;
    place-items: center;
    min-height: 3rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1;
}

.course-reservation-form .time-slot-grid {
    gap: 0.85rem;
}

.course-reservation-form .time-slot-button {
    min-height: 4.25rem;
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.07);
}

.course-reservation-form .time-slot-label {
    font-weight: 700;
}

.course-reservation-form .time-slot-capacity {
    font-size: 0.9rem;
    color: var(--app-text-muted);
}

.course-reservation-form .time-slot-button.is-selected .time-slot-capacity {
    color: rgba(255, 255, 255, 0.86);
}

.self-service-booking-form .lesson-picker-layout {
    margin-top: 1rem;
}

.self-service-booking-form.course-reservation-form .time-slot-button {
    display: grid;
    justify-items: start;
    gap: 0.1rem;
}

.self-service-booking-form.course-reservation-form .time-slot-label,
.self-service-booking-form.course-reservation-form .time-slot-capacity {
    display: block;
    width: 100%;
}

.course-reservation-form .app-form-field {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 251, 247, 0.96));
    border-color: rgba(169, 185, 170, 0.28);
}

@media (min-width: 768px) {
    .course-reserve-layout {
        grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.38fr);
        gap: 1.25rem;
    }

    .course-reservation-form .lesson-picker-layout {
        grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
    }
}

@media (max-width: 767.98px) {
    .course-reserve-booking-head,
    .course-reserve-summary-head,
    .course-reservation-form .lesson-picker-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-reserve-booking-badge,
    .course-reservation-form .lesson-selected-value,
    .course-reserve-balance {
        white-space: normal;
    }
}
.course-reserve-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.95rem;
}

.course-trainer-grid {
    display: grid;
    gap: 0.85rem;
}

.course-trainer-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(169, 185, 170, 0.3);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 244, 0.96));
    color: var(--app-text);
    text-align: left;
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.course-trainer-card:hover,
.course-trainer-card:focus-visible {
    border-color: rgba(126, 168, 130, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(82, 118, 88, 0.12);
    outline: none;
}

.course-trainer-card.is-selected {
    border-color: rgba(111, 143, 114, 0.85);
    background: linear-gradient(180deg, rgba(237, 245, 238, 0.98), rgba(224, 238, 226, 0.98));
    box-shadow: 0 16px 28px rgba(84, 120, 89, 0.16);
}

.course-trainer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(241, 245, 239, 1), rgba(227, 236, 228, 0.96));
    color: var(--app-accent-strong);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.course-trainer-card.is-selected .course-trainer-avatar {
    background: linear-gradient(180deg, rgba(111, 143, 114, 0.95), rgba(95, 127, 99, 0.92));
    color: #fff;
}

.course-trainer-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.course-trainer-name {
    font-weight: 700;
    color: var(--app-text);
}

.course-trainer-meta {
    margin-top: 0.18rem;
    color: var(--app-muted);
    font-size: 0.9rem;
}

.course-trainer-check {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 1.3rem;
    border: 2px solid rgba(169, 185, 170, 0.65);
    border-radius: 999px;
    background: #fff;
}

.course-trainer-card.is-selected .course-trainer-check {
    border-color: var(--app-accent);
    background: radial-gradient(circle at center, var(--app-accent) 0 45%, transparent 46%);
}

.booking-empty-state {
    grid-column: 1 / -1;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(169, 185, 170, 0.45);
    border-radius: 18px;
    background: rgba(248, 250, 246, 0.9);
    color: var(--app-muted);
    text-align: center;
}

.trainer-index-link {
    font-weight: 700;
}

.trainer-detail-page {
    gap: 1.25rem;
}

.trainer-detail-overview-card,
.trainer-detail-section {
    position: relative;
    overflow: hidden;
}

.trainer-detail-overview-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 251, 247, 0.94)),
        radial-gradient(circle at top right, rgba(111, 143, 114, 0.12), transparent 32%);
}

.trainer-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.trainer-detail-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trainer-detail-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(111, 143, 114, 0.94), rgba(95, 127, 99, 0.96));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(84, 120, 89, 0.18);
}

.trainer-detail-stats-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.trainer-detail-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.trainer-detail-stat-label {
    color: var(--app-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trainer-detail-stat-value {
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.trainer-service-grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.trainer-service-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 246, 0.96));
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.trainer-service-card.is-enabled {
    border-color: rgba(111, 143, 114, 0.55);
    box-shadow: 0 14px 24px rgba(84, 120, 89, 0.12);
}

.trainer-service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.trainer-service-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
}

.trainer-service-meta,
.trainer-service-description {
    color: var(--app-muted);
}

.trainer-service-meta {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

.trainer-service-switch {
    flex: 0 0 auto;
    margin: 0;
    padding-left: 3rem;
}

.trainer-service-switch .form-check-input {
    width: 2.8rem;
    height: 1.55rem;
    margin-top: 0;
    margin-left: -3rem;
    border-color: rgba(169, 185, 170, 0.55);
    box-shadow: none;
}

.trainer-service-switch .form-check-input:checked {
    background-color: var(--app-accent);
    border-color: var(--app-accent);
}

.trainer-detail-section .trainer-working-hours-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.customer-detail-page {
    gap: 1.25rem;
}

.customer-detail-hero-card,
.customer-detail-section {
    position: relative;
    overflow: hidden;
}

.customer-detail-hero-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 244, 0.96)),
        radial-gradient(circle at top right, rgba(46, 111, 158, 0.12), transparent 32%);
}

.customer-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.customer-detail-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-detail-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(46, 111, 158, 0.94), rgba(33, 89, 128, 0.96));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(46, 111, 158, 0.18);
}

.customer-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.customer-detail-id {
    color: var(--app-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.customer-detail-stats-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.customer-detail-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
}

.customer-detail-stat-label,
.customer-course-stat-label {
    color: var(--app-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.customer-detail-stat-value {
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.customer-detail-stat-date {
    font-size: 0.95rem;
}

.customer-course-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.customer-course-card,
.customer-reservation-card {
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 246, 0.96));
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.06);
}

.customer-course-card {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.05rem;
}

.customer-course-head,
.customer-reservation-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.customer-course-title,
.customer-reservation-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
}

.customer-course-meta,
.customer-reservation-meta {
    color: var(--app-muted);
}

.customer-course-stats {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-course-stats > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    background: rgba(245, 241, 234, 0.72);
}

.customer-course-stats strong {
    font-size: 1.1rem;
    font-weight: 800;
}

.customer-reservation-list {
    display: grid;
    gap: 0.9rem;
}

.customer-reservation-card {
    padding: 1rem 1.05rem;
}

.customer-reservation-card.is-upcoming {
    border-color: rgba(46, 111, 158, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(239, 247, 252, 0.96));
}

.customer-reservation-card.is-history {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 247, 244, 0.94));
}

.customer-reservation-main {
    display: grid;
    gap: 0.5rem;
}

.customer-reservation-id {
    color: var(--app-accent-strong);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .trainer-detail-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .trainer-detail-identity {
        align-items: flex-start;
    }

    .trainer-service-card-top {
        flex-direction: column;
    }

    .customer-detail-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-detail-identity {
        align-items: flex-start;
    }

    .customer-course-stats {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .course-trainer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .course-reserve-field-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.email-template-page {
    gap: 1.25rem;
}

.sms-template-page {
    gap: 1.25rem;
}

.email-template-variables-card {
    position: relative;
    overflow: hidden;
}

.sms-template-variables-card {
    position: relative;
    overflow: hidden;
}

.email-template-variables-card::after {
    content: "";
    position: absolute;
    inset: auto -2.2rem -2.2rem auto;
    width: 11rem;
    height: 11rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(111, 143, 114, 0.14), transparent 68%);
    pointer-events: none;
}

.sms-template-variables-card::after {
    content: "";
    position: absolute;
    inset: auto -2.2rem -2.2rem auto;
    width: 11rem;
    height: 11rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(111, 143, 114, 0.14), transparent 68%);
    pointer-events: none;
}

.email-template-variable-grid,
.email-template-card-list {
    display: grid;
    gap: 1rem;
}

.email-template-variable-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.email-template-variable-item {
    display: grid;
    gap: 0.8rem;
    align-content: space-between;
    min-height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 246, 0.94));
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.06);
}

.email-template-variable-title,
.email-template-variable-placeholder,
.email-template-variable-description {
    margin: 0;
}

.email-template-variable-title {
    font-weight: 750;
}

.email-template-variable-placeholder {
    margin-top: 0.35rem;
    color: var(--app-accent-strong);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.92rem;
    font-weight: 700;
}

.email-template-variable-description {
    margin-top: 0.35rem;
    color: var(--app-muted);
    font-size: 0.92rem;
}

.email-template-copy-button {
    align-self: flex-start;
}

.email-template-card {
    position: relative;
    overflow: hidden;
}

.sms-template-card {
    position: relative;
    overflow: hidden;
}

.sms-template-test-card {
    position: relative;
    overflow: hidden;
}

.email-template-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #7ea882 0%, #98b89b 48%, #dbe8dc 100%);
}

.sms-template-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #7ea882 0%, #98b89b 48%, #dbe8dc 100%);
}

.sms-template-test-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #7ea882 0%, #98b89b 48%, #dbe8dc 100%);
}

.email-template-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
}

.sms-template-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
}

.sms-template-editor-grid {
    display: grid;
    gap: 1rem;
}

.sms-test-form {
    display: grid;
    gap: 0.75rem;
}

.sms-template-editor-item {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(169, 185, 170, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 246, 0.94));
    box-shadow: 0 10px 22px rgba(74, 91, 74, 0.06);
}

.sms-template-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.sms-template-label {
    margin-bottom: 0.25rem;
}

.sms-template-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(169, 185, 170, 0.35);
    border-radius: 999px;
    background: #f4f8f2;
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.sms-template-counter.is-warning {
    border-color: rgba(191, 111, 52, 0.35);
    background: #fff3ea;
    color: #b85f24;
}

.sms-template-textarea {
    min-height: 6.25rem;
    resize: vertical;
}

.sms-template-textarea.is-warning {
    border-color: rgba(191, 111, 52, 0.45);
    box-shadow: 0 0 0 0.18rem rgba(191, 111, 52, 0.12);
}

.email-template-feature-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(237, 245, 238, 0.96);
    color: var(--app-accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.email-template-card-layout {
    display: grid;
    gap: 1rem;
}

.email-template-editor-column,
.email-template-preview-column {
    min-width: 0;
}

.email-template-preview-shell {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(169, 185, 170, 0.26);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 246, 0.96));
    box-shadow: 0 16px 30px rgba(63, 80, 67, 0.07);
}

.email-template-preview-meta {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(245, 241, 234, 0.72);
}

.email-template-preview-meta-label {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.email-template-preview-customer,
.email-template-preview-employee {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid rgba(169, 185, 170, 0.24);
    border-radius: 22px;
    background: #fff;
}

.email-template-preview-customer-head,
.email-template-preview-employee-head {
    display: grid;
    gap: 0.5rem;
}

.email-template-preview-customer-head h3,
.email-template-preview-employee-head h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 750;
}

.email-template-preview-customer-head p,
.email-template-preview-employee-head p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.6;
}

.email-template-preview-brand {
    color: var(--app-accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.email-template-preview-summary-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.email-template-preview-summary-grid > div {
    display: grid;
    gap: 0.28rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: #f9fbf8;
    border: 1px solid #e4ece2;
}

.email-template-preview-summary-grid span {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.email-template-preview-copy,
.email-template-preview-footer {
    font-size: 0.97rem;
    line-height: 1.75;
}

.email-template-preview-footer {
    padding-top: 1rem;
    border-top: 1px solid #e7eee5;
    color: var(--app-muted);
}

.email-template-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.email-template-preview-actions.is-hidden {
    display: none;
}

.email-template-preview-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15rem;
    min-height: 2.9rem;
    padding: 0.7rem 1rem;
    box-sizing: border-box;
    border: 1px solid rgba(169, 185, 170, 0.35);
    border-radius: 16px;
    background: #edf5ee;
    color: var(--app-text);
    font-weight: 700;
}

.email-template-preview-action-primary {
    background: var(--app-accent);
    border-color: transparent;
    color: #fff;
}

@media (min-width: 992px) {
    .email-template-card-layout {
        grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    .email-template-card-head {
        flex-direction: column;
    }

    .sms-template-card-head,
    .sms-template-editor-head {
        flex-direction: column;
    }

    .email-template-preview-summary-grid {
        grid-template-columns: 1fr;
    }
}

.notification-settings-table {
    display: grid;
    gap: 0.75rem;
}

.notification-settings-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) 110px 110px;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid #e3e8df;
    border-radius: 1rem;
    background: #fbfcf9;
}

.notification-settings-row-head {
    background: transparent;
    border-style: dashed;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #68756c;
}

.notification-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
    color: #223127;
    font-weight: 600;
}

.notification-toggle .form-check-input {
    margin-left: 0;
    margin-top: 0;
    width: 2.8rem;
    height: 1.45rem;
    border-color: #c6d4c5;
    box-shadow: none;
}

.notification-toggle .form-check-input:checked {
    background-color: #6f8f72;
    border-color: #6f8f72;
}

.notification-rule-list {
    display: grid;
    gap: 1rem;
}

.notification-rule-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e3e8df;
    border-radius: 1rem;
    background: #fbfcf9;
}

.notification-rule-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 110px 110px;
    gap: 1rem;
    align-items: end;
    flex: 1;
}

.notification-rule-remove {
    align-self: center;
    white-space: nowrap;
}

.notification-review-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 320px);
    gap: 1rem;
    align-items: stretch;
}

.notification-review-delay-field {
    align-self: end;
}

.notification-review-channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-self: end;
}

.notification-review-channel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 52px;
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid #e3e8df;
    border-radius: 1rem;
    background: #fbfcf9;
    color: #223127;
    font-weight: 600;
    text-align: center;
}

.notification-review-channel .form-check-input {
    margin: 0;
}

.notification-review-channel span {
    line-height: 1;
}

.notification-radio-list {
    display: grid;
    gap: 0.85rem;
}

.notification-radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e3e8df;
    border-radius: 1rem;
    background: #fbfcf9;
    color: #223127;
    font-weight: 600;
}

.notification-radio-item input {
    margin: 0;
}

@media (max-width: 991.98px) {
    .notification-settings-row,
    .notification-rule-fields,
    .notification-review-grid {
        grid-template-columns: 1fr;
    }

    .notification-review-channels {
        grid-template-columns: 1fr;
    }

    .notification-rule-card {
        flex-direction: column;
    }

    .notification-rule-remove {
        align-self: stretch;
    }
}



.course-type-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.course-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(111, 143, 114, 0.2);
    border-radius: 1.25rem;
    background: #f8fbf7;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.course-type-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.course-type-card.is-active {
    border-color: #6f8f72;
    box-shadow: 0 14px 28px rgba(52, 70, 56, 0.10);
    transform: translateY(-1px);
    background: linear-gradient(180deg, #f4faf5 0%, #ffffff 100%);
}

.course-type-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6f8f72;
}

.course-schedule-list,
.course-interest-list,
.course-public-schedule-list {
    display: grid;
    gap: 1rem;
}

.course-schedule-card,
.course-interest-box,
.course-public-schedule-item {
    border: 1px solid rgba(111, 143, 114, 0.18);
    border-radius: 1.1rem;
    background: #fbfdfb;
}

.course-schedule-card,
.course-interest-box {
    padding: 1rem;
}

.course-schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.course-schedule-actions {
    margin-top: 0.9rem;
    display: flex;
    justify-content: flex-end;
}

.course-trainer-picker {
    display: grid;
    gap: 0.75rem;
}

.course-trainer-picker-note {
    font-size: 0.92rem;
    color: #5f6f63;
}

.course-trainer-option-list {
    display: grid;
    gap: 0.7rem;
}

.course-trainer-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #dce6dc;
    border-radius: 1rem;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.course-trainer-option.is-selected {
    border-color: rgba(111, 143, 114, 0.45);
    background: #f8fbf7;
}

.course-trainer-option-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-weight: 600;
    color: #223127;
    flex: 1;
    cursor: pointer;
}

.course-trainer-option-input {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 1.35rem;
    height: 1.35rem;
    border: 1.5px solid #c9d7c8;
    border-radius: 0.42rem;
    background: #ffffff;
    display: inline-grid;
    place-items: center;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    box-shadow: 0 1px 2px rgba(34, 49, 39, 0.06);
    flex: 0 0 auto;
}

.course-trainer-option-input::after {
    content: "";
    width: 0.36rem;
    height: 0.68rem;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .16s ease;
}

.course-trainer-option-input:hover {
    border-color: #93ab94;
}

.course-trainer-option-input:focus-visible {
    outline: none;
    border-color: #6f8f72;
    box-shadow: 0 0 0 0.2rem rgba(111, 143, 114, 0.18);
}

.course-trainer-option-input:checked {
    border-color: #6f8f72;
    background: #6f8f72;
}

.course-trainer-option-input:checked::after {
    transform: rotate(45deg) scale(1);
}

.course-interest-box-head,
.course-interest-item,
.course-public-schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.course-interest-item,
.course-public-schedule-item {
    padding: 0.9rem 1rem;
}

.course-public-schedule-list {
    margin-top: 0.8rem;
}

@media (max-width: 991.98px) {
    .course-type-picker,
    .course-schedule-grid {
        grid-template-columns: 1fr;
    }

    .course-trainer-option {
        flex-direction: column;
        align-items: stretch;
    }

    .course-interest-box-head,
    .course-interest-item,
    .course-public-schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.participant-consent-summary {
    font-size: 0.95rem;
    color: #415444;
    font-weight: 600;
}

.participant-consent-summary.is-warning {
    color: #b84242;
}

.participant-consent-block {
    padding: 1rem 1.1rem;
    border: 1px solid #dce6dc;
    border-radius: 1rem;
    background: #fffdf8;
}

.participant-birthdate-input {
    min-height: 3.4rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid #d7e2d7;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,244,0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 24px rgba(34, 49, 39, 0.06);
    color: #223127;
}

.participant-birthdate-input:focus {
    border-color: #7f9e82;
    box-shadow: 0 0 0 0.2rem rgba(111, 143, 114, 0.16), 0 12px 24px rgba(34, 49, 39, 0.08);
}

.participant-birthdate-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 0.7rem;
    padding: 0.35rem;
    background-color: rgba(111, 143, 114, 0.14);
}

.participant-birthdate-field {
    position: relative;
}

.participant-birthdate-field.is-open {
    z-index: 80;
}

.participant-birthdate-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.participant-birthdate-trigger {
    width: 100%;
    border: 1px solid #d7e2d7;
    border-radius: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,243,0.98));
    box-shadow: 0 16px 30px rgba(34, 49, 39, 0.08);
    padding: 0.95rem 1rem 1rem;
    text-align: left;
    color: #223127;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.participant-birthdate-trigger:hover,
.participant-birthdate-trigger[aria-expanded="true"] {
    border-color: #7f9e82;
    box-shadow: 0 18px 34px rgba(34, 49, 39, 0.12);
    transform: translateY(-1px);
}

.participant-birthdate-trigger-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7d6d;
    margin-bottom: 0.35rem;
}

.participant-birthdate-display {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.participant-birthdate-picker {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.7rem);
    left: 0;
    width: min(22rem, 100%);
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid #dce6dc;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 50px rgba(34, 49, 39, 0.18);
    backdrop-filter: blur(10px);
}

.participant-birthdate-picker.is-above {
    top: auto;
    bottom: calc(100% + 0.7rem);
}

.participant-birthdate-picker-header,
.participant-birthdate-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.participant-birthdate-picker-title {
    font-weight: 800;
    color: #223127;
}

.participant-birthdate-picker-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 0.55rem;
    flex: 1;
}

.participant-birthdate-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border: 1px solid #d4e0d3;
    background: #f7faf6;
    color: #223127;
    border-radius: 0.9rem;
    padding: 0.48rem 0.75rem;
    font-weight: 700;
}

.participant-birthdate-select:focus {
    outline: none;
    border-color: #7f9e82;
    box-shadow: 0 0 0 0.18rem rgba(111, 143, 114, 0.14);
}

.participant-birthdate-select-button {
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.participant-birthdate-select-button:hover {
    border-color: #bdd0bc;
    background: #edf5eb;
    transform: translateY(-1px);
}

.participant-birthdate-select-button.is-active {
    border-color: #7f9e82;
    background: linear-gradient(180deg, #eef5eb, #f8fbf7);
    box-shadow: 0 10px 20px rgba(111, 143, 114, 0.12);
}

.participant-birthdate-nav,
.participant-birthdate-footer-btn {
    border: 1px solid #d4e0d3;
    background: #f4f8f3;
    color: #35523a;
    border-radius: 0.9rem;
    padding: 0.45rem 0.7rem;
    font-weight: 700;
}

.participant-birthdate-nav:hover,
.participant-birthdate-footer-btn:hover {
    background: #e8f1e6;
}

.participant-birthdate-weekdays,
.participant-birthdate-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.participant-birthdate-month-grid,
.participant-birthdate-year-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.participant-birthdate-weekdays {
    margin: 0.95rem 0 0.5rem;
    color: #738575;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.participant-birthdate-day {
    border: 1px solid transparent;
    background: #f9fbf8;
    color: #223127;
    border-radius: 0.95rem;
    min-height: 2.45rem;
    font-weight: 700;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.participant-birthdate-day:hover:not(:disabled) {
    border-color: #bed2bd;
    background: #edf5eb;
    transform: translateY(-1px);
}

.participant-birthdate-day.is-selected {
    background: linear-gradient(135deg, #6f8f72, #90ac92);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(111, 143, 114, 0.28);
}

.participant-birthdate-day.is-today {
    border-color: #8ca88e;
}

.participant-birthdate-day.is-outside-month {
    color: #a0aea2;
    background: #fcfdfc;
}

.participant-birthdate-day:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.participant-birthdate-panel-item {
    border: 1px solid #d8e3d7;
    background: linear-gradient(180deg, #fbfdfb, #f2f7f1);
    color: #223127;
    border-radius: 1rem;
    min-height: 3rem;
    padding: 0.7rem 0.5rem;
    font-weight: 700;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.participant-birthdate-panel-item:hover:not(:disabled) {
    border-color: #bdd0bc;
    background: #edf5eb;
    transform: translateY(-1px);
}

.participant-birthdate-panel-item.is-selected {
    border-color: #6f8f72;
    background: linear-gradient(135deg, #6f8f72, #90ac92);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(111, 143, 114, 0.24);
}

.participant-birthdate-panel-item.is-current:not(.is-selected) {
    border-color: #8ca88e;
    background: #f0f7ef;
}

.participant-birthdate-panel-item:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.participant-birthdate-trigger-label {
    display: none;
}

.participant-consent-link-terms,
.participant-consent-btn {
    font-weight: 700;
}

.participant-consent-btn-terms {
    background: #eef5eb;
    color: #35523a;
    border: 1px solid #c6d8c4;
}

.participant-consent-btn-terms:hover,
.participant-consent-btn-terms:focus {
    background: #e2efe0;
    color: #29442f;
}

.participant-consent-btn-download {
    background: #fff1dd;
    color: #8b5426;
    border: 1px solid #efcfaa;
}

.participant-consent-btn-download:hover,
.participant-consent-btn-download:focus {
    background: #ffe7c7;
    color: #74431c;
}

.app-terms-consent {
    padding: 1rem 1.1rem;
    border: 1px solid #dce6dc;
    border-radius: 1rem;
    background: #f9fbf8;
}

.app-terms-consent .form-check {
    margin-bottom: 0;
}

.app-terms-consent .form-check-label {
    font-weight: 600;
    color: #223127;
}

.app-terms-consent .form-check-label a {
    font-weight: 700;
}

.parental-consent-document {
    max-width: 960px;
    margin: 0 auto;
}

.parental-consent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.parental-consent-grid-span {
    grid-column: 1 / -1;
}

.parental-consent-value {
    margin-top: 0.45rem;
    min-height: 1.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #cfdacf;
    color: #223127;
}

.parental-consent-signatures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.parental-consent-signature span {
    display: block;
    margin-bottom: 2.2rem;
    color: #5f6f63;
    font-size: 0.95rem;
}

.parental-consent-signature-line {
    border-bottom: 1px solid #223127;
}

@media (max-width: 767.98px) {
    .parental-consent-grid,
    .parental-consent-signatures {
        grid-template-columns: 1fr;
    }
}

@media print {
    .no-print,
    .app-header,
    .app-footer {
        display: none !important;
    }

    .app-shell-main,
    .app-container,
    .app-page {
        padding: 0;
        margin: 0;
        max-width: none;
    }

    .app-card.parental-consent-document {
        box-shadow: none;
        border: none;
        padding: 0;
    }
}
