/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #212529;
}

main {
    scroll-margin-top: 90px;
}

body[data-nav="admin"] main {
    padding-top: var(--site-navbar-offset, 84px);
}

body[data-nav="admin"] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body[data-nav="admin"] main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

body[data-nav="admin"] main > section {
    flex: 1 0 auto;
}

body[data-nav="admin"] #site-footer {
    margin-top: auto;
}

.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    background: #ffffff;
    color: #0c63e4;
    border: 2px solid #0c63e4;
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 2000;
}

.skip-link:focus {
    top: 8px;
}

/* Shrinking Navigation */
.navbar {
    transition: all 0.3s;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
}

.navbar .nav-link {
    font-size: 1.05rem;
    padding: 0.75rem 0.9rem;
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.navbar.scrolled {
    padding: 5px 0;
}

body[data-nav="home"] .navbar:not(.scrolled) {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

body[data-nav="home"] .navbar:not(.scrolled) .navbar-brand,
body[data-nav="home"] .navbar:not(.scrolled) .nav-link {
    color: #ffffff;
}

body[data-nav="home"] .navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

body[data-nav="home"] .navbar:not(.scrolled) .navbar-toggler-icon {
    filter: invert(1);
}

body[data-nav="home"] .navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

/* Parallax Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
}

.short-hero {
    height: 50vh;
    min-height: 320px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.home-hero {
    height: 68vh;
    min-height: 430px;
    padding: 112px 0 64px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background-image: linear-gradient(rgba(60, 83, 136, 0.55), rgba(60, 83, 136, 0.55)), url('https://images.unsplash.com/photo-1551076805-e1869033e561');
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

.home-hero::before {
    display: none;
}

.home-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    max-width: 700px;
}

.home-hero .lead {
    max-width: 760px;
    margin: 0 0 1.25rem;
}

.quick-actions-section {
    margin-top: 0;
    position: relative;
    z-index: 5;
    padding-top: 1.5rem !important;
}

.quick-actions-section .card {
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.facility-gallery-shell {
    position: relative;
}

.facility-gallery-shell::before,
.facility-gallery-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 10px;
    width: 44px;
    pointer-events: none;
    z-index: 3;
}

.facility-gallery-shell::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.facility-gallery-shell::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.facility-gallery {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.facility-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 34%);
    gap: 1rem;
}

.facility-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    scroll-snap-align: start;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.facility-gallery-button {
    border: none;
    background: transparent;
    padding: 0;
    display: block;
    width: 100%;
    cursor: pointer;
}

.facility-gallery-button img {
    transition: transform 0.2s ease;
}

.facility-gallery-button:hover img,
.facility-gallery-button:focus-visible img {
    transform: scale(1.02);
}

.facility-gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.84);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2100;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox-image {
    max-width: min(95vw, 1100px);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

body.lightbox-open {
    overflow: hidden;
}

/* Flip Cards */
.flip-card {
    perspective: none;
    height: auto;
    margin: 20px 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    transition: none;
    transform-style: flat;
    display: flex;
    flex-direction: column;
}

.flip-card:hover .flip-card-inner {
    transform: none;
}

.flip-card-front,
.flip-card-back {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 150px;
    backface-visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #f8f9fa;
    color: #333;
}

.flip-card-back {
    background-color: #007bff;
    color: white;
    transform: none;
    margin-top: 12px;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 44px 0 28px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 24px;
}

.footer-brand {
    color: #ffffff;
    font-weight: 700;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.9rem;
}

.footer-tagline,
.footer-hours {
    color: #cbd5e1;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.55rem;
}

.footer-list a {
    color: #e5e7eb;
}

.footer-list a:hover {
    color: #ffffff;
}

.footer .parent {
    width: fit-content;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.65rem;
}

.footer .child {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
    border-radius: 5px;
    margin: 0 5px;
    box-shadow:
        inset 1px 1px 2px #fff,
        0 0 5px #4442;
}

.footer .child:hover {
    background-color: #ffffff;
    background-position:
        -100px 100px,
        -100px 100px;
    transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.footer .child-1:hover {
    box-shadow: 0 10px 10px #1e90ff;
}

.footer .child-2:hover {
    box-shadow: 0 10px 10px #ff00ff;
}

.footer .child-3:hover {
    box-shadow: 0 10px 10px #000;
}

.footer .child-4:hover {
    box-shadow: 0 10px 10px #4267b2;
}

.footer .button {
    cursor: pointer;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
}

.footer .child:hover>.button {
    transform: translate3d(0, 20px, 30px) perspective(80px) rotateX(-60deg) translateY(2px) translateZ(10px);
}

.footer .button svg {
    width: 1em;
    height: 1em;
    display: block;
}

.footer .child-1 .button svg path {
    fill: #1e90ff;
}

.footer .child-2 .button svg path {
    fill: #ff00ff;
}

.footer .child-4 .button svg path {
    fill: #4267b2;
}

.footer-bottom {
    margin-top: 14px;
    color: #cbd5e1;
}

.footer-admin-gear {
    position: absolute;
    left: 12px;
    bottom: 10px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border-radius: 999px;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-admin-gear:hover,
.footer-admin-gear:focus-visible {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.footer-admin-gear svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Map Section */
.map-container {
    height: 400px;
    width: 100%;
}

.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.switch {
    --_switch-bg-clr: #e7f1ff;
    --_switch-padding: 4px;
    --_slider-bg-clr: rgba(12, 99, 228, 0.7);
    --_slider-bg-clr-on: #0c63e4;
    --_label-padding: 0.7rem 1.2rem;
    --_switch-easing: cubic-bezier(0.47, 1.64, 0.41, 0.8);
    color: #0c63e4;
    width: fit-content;
    border-radius: 9999px;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    isolation: isolate;
}

.switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.switch > span {
    display: grid;
    place-content: center;
    transition: opacity 300ms ease-in-out 150ms;
    padding: var(--_label-padding);
    font-weight: 600;
}

.switch::before,
.switch::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    transition: inset 150ms ease-in-out;
}

.switch::before {
    background-color: var(--_slider-bg-clr);
    inset: var(--_switch-padding) 50% var(--_switch-padding) var(--_switch-padding);
    transition: inset 500ms var(--_switch-easing), background-color 500ms ease-in-out;
    z-index: -1;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.5);
}

.switch::after {
    background-color: var(--_switch-bg-clr);
    inset: 0;
    z-index: -2;
}

.switch:focus-within::after {
    inset: -0.2rem;
}

.switch:has(input:checked):hover > span:first-of-type,
.switch:has(input:not(:checked)):hover > span:last-of-type {
    opacity: 1;
    transition-delay: 0ms;
    transition-duration: 100ms;
}

.switch:has(input:checked):hover::before {
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 45%;
}

.switch:has(input:not(:checked)):hover::before {
    inset: var(--_switch-padding) 45% var(--_switch-padding) var(--_switch-padding);
}

.switch:has(input:checked)::before {
    background-color: var(--_slider-bg-clr-on);
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 50%;
}

.switch > span:last-of-type,
.switch > input:checked + span:first-of-type {
    opacity: 0.82;
}

.switch > input:checked ~ span:last-of-type {
    opacity: 1;
}

.switch:has(input:not(:checked)) > span:first-of-type,
.switch:has(input:checked) > span:last-of-type {
    color: #ffffff;
}

.contact-info i {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 15px;
}

.admin-table-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    padding: 10px;
}

.admin-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

@media (min-width: 1200px) {
    body[data-nav="admin"] .admin-body-wide {
        max-width: 1650px;
    }
}

.admin-appointments-table td,
.admin-appointments-table th {
    vertical-align: middle;
}

.admin-editing-row td {
    background: #f8fbff !important;
}

.admin-edit-cell {
    min-width: 130px;
}

.admin-edit-stack {
    display: grid;
    gap: 0.5rem;
}

.admin-table-wrap .edit-field,
.admin-table-wrap .appointment-status {
    min-height: 38px;
    font-size: 0.92rem;
    padding: 0.45rem 0.65rem;
}

.admin-table-wrap .edit-notes {
    min-height: 86px;
}

.admin-row-actions,
.admin-edit-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.admin-row-actions .btn,
.admin-edit-actions .btn {
    min-height: 34px;
    min-width: 34px;
    width: 34px;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-edit-actions .edit-row-status {
    min-height: 1.2rem;
}

@media (min-width: 992px) {
    .admin-row-actions,
    .admin-edit-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .admin-edit-actions .edit-row-status {
        flex-basis: 100%;
    }
}

.admin-calendar-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    padding: 16px;
}

.admin-calendar-toolbar {
    padding: 4px 0;
}

.admin-calendar-filters {
    border: 1px solid #e9ecef;
    background: #fbfcfe;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid #dde3ea;
    border-radius: 999px;
    background: #ffffff;
}

.admin-status-pill .form-check-input {
    margin-top: 0;
}

.admin-status-pill .form-check-label {
    font-size: 0.93rem;
    font-weight: 500;
}

.admin-day-panel {
    border: 1px solid #e9ecef;
}

.admin-record-detail {
    border: 1px solid #e9ecef;
    min-height: 100%;
}

.admin-record-identity {
    font-size: 0.93rem;
    color: #2f3f52;
}

.admin-record-history-wrap {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    max-height: 340px;
}

.admin-record-history-wrap table {
    margin-bottom: 0;
}

.admin-record-row.is-selected {
    background: #f3f8ff;
}

.admin-create-form-wrap {
    max-width: 1100px;
}

.admin-create-panel {
    border: 1px solid #dde5ee;
    border-radius: 10px;
    background: #f8fbff;
    padding: 0.9rem 1rem;
}

.admin-create-result {
    min-height: 1px;
}

.admin-recurrence-rule-summary {
    border: 1px solid #cfe2ff;
    background: #edf4ff;
    color: #1f3554;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.admin-recurrence-rule-summary strong {
    font-weight: 700;
}

#adminCreateRecurrencePresets .btn.admin-recurrence-preset-active {
    background: #204066;
    color: #ffffff;
    border-color: #204066;
}

.admin-create-result-card {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    background: #ffffff;
}

.admin-create-result-success {
    border-color: #badbcc;
    background: #f0fbf4;
}

.admin-create-result-error {
    border-color: #f1aeb5;
    background: #fff5f6;
}

.bh-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.6rem;
}

@media (max-width: 900px) {
    .bh-calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .bh-calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bh-day-card {
    border: 1px solid #dee2e6;
    border-radius: 0.6rem;
    overflow: hidden;
    min-width: 0;
}

.bh-day-header {
    background: #0d6efd;
    color: #fff;
    padding: 0.55rem 0.5rem 0.4rem;
    text-align: center;
}

.bh-day-card.bh-closed .bh-day-header {
    background: #adb5bd;
}

.bh-day-name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.bh-open-toggle .form-check-input {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.bh-open-toggle .form-check-input:checked {
    background-color: #fff;
    border-color: #fff;
}

.bh-open-toggle .form-check-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
}

.bh-day-body {
    padding: 0.55rem 0.5rem;
    background: #fff;
}

.bh-day-card.bh-closed .bh-day-body {
    opacity: 0.45;
    pointer-events: none;
}

.bh-time-group {
    margin-bottom: 0.45rem;
}

.bh-time-group:last-child {
    margin-bottom: 0;
}

.bh-time-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.bh-time-row {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.bh-time-row input[type="time"] {
    flex: 1;
    min-width: 0;
    font-size: 0.7rem;
    padding: 0.18rem 0.22rem;
}

.bh-dash {
    font-size: 0.75rem;
    color: #adb5bd;
    flex-shrink: 0;
}

.admin-day-appointments {
    display: grid;
    gap: 0.5rem;
}

.admin-day-appointment {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(200px, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    border: 1px solid #e6ebf1;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.65rem 0.75rem;
}

.admin-day-appointment.is-selected {
    border-color: #9fc0f5;
    background: #f3f8ff;
}

.admin-day-meta {
    display: grid;
    gap: 0.15rem;
}

.admin-day-time {
    font-weight: 700;
    color: #1f2937;
}

.admin-day-service {
    font-size: 0.85rem;
    color: #6b7280;
}

.admin-day-main {
    min-width: 0;
}

.admin-day-main strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-day-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    border: 1px solid transparent;
}

.admin-day-status.status-new {
    color: #7a5300;
    background: #fff3cd;
    border-color: #ffe69c;
}

.admin-day-status.status-confirmed {
    color: #0a3d86;
    background: #dbeafe;
    border-color: #b6d4fe;
}

.admin-day-status.status-completed {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.admin-day-status.status-cancelled {
    color: #842029;
    background: #f8d7da;
    border-color: #f1aeb5;
}

@media (max-width: 768px) {
    .admin-day-appointment {
        grid-template-columns: 1fr;
    }
}

#adminCalendarView .fc {
    font-size: 0.9rem;
    --fc-border-color: #e5eaf0;
    --fc-page-bg-color: #ffffff;
    --fc-neutral-bg-color: #f6f8fb;
    --fc-today-bg-color: rgba(13, 110, 253, 0.08);
    --fc-button-bg-color: #204066;
    --fc-button-border-color: #204066;
    --fc-button-hover-bg-color: #1a3452;
    --fc-button-hover-border-color: #1a3452;
    --fc-button-active-bg-color: #142a42;
    --fc-button-active-border-color: #142a42;
}

#adminCalendarView .fc-toolbar-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1f2937;
}

#adminCalendarView .fc a {
    text-decoration: none;
}

#adminCalendarView .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1rem;
}

#adminCalendarView .fc .fc-button {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

#adminCalendarView .fc .fc-button-group > .fc-button {
    border-radius: 0;
}

#adminCalendarView .fc-direction-ltr .fc-button-group > .fc-button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#adminCalendarView .fc-direction-ltr .fc-button-group > .fc-button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#adminCalendarView .fc .fc-col-header-cell-cushion {
    padding: 5px 6px;
    font-weight: 500;
    color: #495057;
}

#adminCalendarView .fc .fc-daygrid-day-number {
    color: #495057;
    font-weight: 400;
}

#adminCalendarView .fc .fc-event {
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

#adminCalendarView .fc .admin-cal-event {
    border-width: 1px;
    border-style: solid;
    color: inherit;
}

#adminCalendarView .fc .admin-cal-event .fc-event-main,
#adminCalendarView .fc .admin-cal-event .fc-event-time,
#adminCalendarView .fc .admin-cal-event .fc-event-title {
    color: inherit;
}

#adminCalendarView .fc .admin-cal-event.fc-daygrid-event,
#adminCalendarView .fc .admin-cal-event.fc-timegrid-event {
    padding: 0.16rem 0.42rem;
    border-left-width: 3px;
    border-left-style: solid;
    line-height: 1.25;
}

#adminCalendarView .fc .fc-daygrid-event-harness {
    margin-top: 0.18rem;
}

#adminCalendarView .fc .fc-daygrid-event .fc-event-time {
    font-weight: 600;
}

#adminCalendarView .fc .admin-cal-event.fc-timegrid-event {
    padding: 0;
}

#adminCalendarView .fc .admin-cal-event.fc-timegrid-event .fc-event-main {
    padding: 0.2rem 0.42rem;
}

#adminCalendarView .fc .fc-event-main {
    font-size: 0.79rem;
    font-weight: 500;
}

#adminCalendarView .fc .fc-daygrid-event .fc-event-title {
    font-weight: 500;
    letter-spacing: 0;
}

#adminCalendarView .fc .admin-cal-event-new {
    background: #fff8e1;
    border-color: #ffc107;
    color: #7a5300;
}

#adminCalendarView .fc .admin-cal-event-confirmed {
    background: #eaf2ff;
    border-color: #0d6efd;
    color: #0b3f8a;
}

#adminCalendarView .fc .admin-cal-event-completed {
    background: #e9f7ef;
    border-color: #198754;
    color: #145c32;
}

#adminCalendarView .fc .admin-cal-event-cancelled {
    background: #fdecef;
    border-color: #dc3545;
    color: #842029;
}

.form-label {
    font-weight: 600;
}

.form-control,
.form-select {
    font-size: 1rem;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
}

textarea.form-control {
    min-height: 120px;
}

.btn {
    min-height: 48px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

.form-help,
.page-help {
    font-size: 0.98rem;
    color: #495057;
}

.page-help {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flip-card {
        height: auto;
    }

    body {
        font-size: 17px;
    }

    .home-hero {
        min-height: 360px;
        padding: 104px 0 48px;
        text-align: center;
        align-items: center;
    }

    .quick-actions-section {
        margin-top: 0;
        padding-top: 2rem !important;
    }

    .facility-gallery-track {
        grid-auto-columns: minmax(230px, 85%);
    }

    .facility-gallery-shell::before,
    .facility-gallery-shell::after {
        width: 26px;
    }

    .gallery-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }

    .facility-gallery-item img {
        height: 200px;
    }

    .home-hero .lead {
        margin: 0 auto 1.25rem;
    }

    .switch {
        --_label-padding: 0.65rem 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer .parent {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .hero {
        background-attachment: scroll;
    }
}

a {
    text-decoration: underline;
}

.navbar a,
.btn,
.footer .parent a,
.navbar-brand {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #0c63e4;
    outline-offset: 2px;
}