:root {
    --fd-green: #8cff00;
    --fd-green-2: #b6ff00;
    --fd-pink: #ff1493;
    --fd-blue: #19c8ff;
    --fd-yellow: #ffd43b;

    --fd-black: #030303;
    --fd-black-2: #090909;
    --fd-panel: #ffffff;
    --fd-soft: #f5f5f6;
    --fd-text: #101018;
    --fd-muted: #63636f;
    --fd-border: #e5e7eb;

    --fd-radius: 22px;
    --fd-shadow: 0 22px 60px rgba(0,0,0,.14);
}

/* Base */
html,
body {
    min-height: 100%;
    color: var(--fd-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(140,255,0,.16), transparent 26rem),
        radial-gradient(circle at 88% 12%, rgba(25,200,255,.14), transparent 30rem),
        radial-gradient(circle at 80% 95%, rgba(255,20,147,.12), transparent 30rem),
        #050505 !important;
}

/* App shell */
.fd-sidebar {
    background:
        linear-gradient(180deg, rgba(3,3,3,.98), rgba(8,8,8,.96)),
        radial-gradient(circle at top, rgba(140,255,0,.10), transparent 18rem) !important;
    border-right: 1px solid rgba(140,255,0,.28) !important;
}

.navbar {
    background:
        linear-gradient(90deg, var(--fd-pink), var(--fd-green)) !important;
    border: 0 !important;
    min-height: 58px;
}

.navbar,
.navbar * {
    color: #050505 !important;
}

main {
    min-height: calc(100vh - 58px);
    background:
        linear-gradient(rgba(245,245,246,.94), rgba(245,245,246,.94)),
        radial-gradient(circle at 10% 10%, rgba(140,255,0,.18), transparent 24rem),
        radial-gradient(circle at 90% 20%, rgba(25,200,255,.12), transparent 26rem);
    position: relative;
    overflow: hidden;
}

main::before {
    content: "FUNKYDOOS";
    position: fixed;
    right: -3rem;
    bottom: -2rem;
    font-size: clamp(5rem, 11vw, 14rem);
    font-weight: 1000;
    letter-spacing: -.08em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0,0,0,.045);
    pointer-events: none;
}

/* Sidebar brand */
.fd-brand-mark {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2rem;
}

.fd-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 25%, #fff 0 8%, transparent 9%),
        linear-gradient(135deg, var(--fd-green), var(--fd-pink), var(--fd-blue));
    box-shadow: 0 0 28px rgba(140,255,0,.35);
}

.fd-brand-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 1000;
    letter-spacing: -.06em;
    line-height: .9;
}

.fd-brand-tag {
    color: var(--fd-green);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Nav */
.fd-sidebar .nav-link {
    color: rgba(255,255,255,.76) !important;
    border-radius: 18px;
    font-weight: 950;
    padding: .8rem .9rem;
    margin-bottom: .25rem;
}

.fd-sidebar .nav-link:hover,
.fd-sidebar .nav-link.active {
    color: #050505 !important;
    background: var(--fd-green);
    box-shadow: 0 0 24px rgba(140,255,0,.28);
}

/* Headings */
.fd-page-title,
h1 {
    color: #101018;
    font-size: clamp(2.2rem, 4vw, 4.8rem);
    font-weight: 1000;
    line-height: .9;
    letter-spacing: -.085em;
    margin-bottom: .55rem;
}

.fd-page-title::after,
h1::after {
    content: "";
    display: block;
    width: 170px;
    height: 9px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fd-green), var(--fd-pink), var(--fd-blue));
    box-shadow: 0 0 18px rgba(140,255,0,.32);
}

.fd-page-subtitle {
    color: #63636f;
    font-weight: 850;
}

/* Website-like hero */
.fd-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(1.4rem, 3vw, 2.6rem);
    background:
        linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.58)),
        radial-gradient(circle at 8% 20%, rgba(255,20,147,.28), transparent 20rem),
        radial-gradient(circle at 52% 0%, rgba(140,255,0,.28), transparent 20rem),
        radial-gradient(circle at 96% 20%, rgba(25,200,255,.25), transparent 22rem),
        #050505;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--fd-shadow);
}

.fd-hero-panel::before {
    content: "FUNKING GOOD HAIR";
    position: absolute;
    right: 1.2rem;
    bottom: .8rem;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.10);
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 1000;
    letter-spacing: -.08em;
    transform: rotate(-3deg);
}

.fd-hero-panel h1,
.fd-hero-panel .fd-page-title {
    color: white;
    max-width: 900px;
}

.fd-hero-panel .fd-page-title::after,
.fd-hero-panel h1::after {
    background: linear-gradient(90deg, var(--fd-green), var(--fd-green-2));
}

.fd-hero-panel .fd-page-subtitle,
.fd-hero-panel p {
    color: rgba(255,255,255,.78);
}

/* Cards */
.fd-card,
.card,
.bg-white {
    background: #ffffff !important;
    color: var(--fd-text) !important;
    border: 1px solid var(--fd-border) !important;
    border-radius: var(--fd-radius) !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.08) !important;
}

.card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--fd-border) !important;
    font-weight: 950;
}

/* Buttons */
.btn,
button,
[type="submit"] {
    border-radius: 999px !important;
    font-weight: 950 !important;
    letter-spacing: -.02em;
    transition: all .16s ease !important;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
}

.btn-primary,
.bg-black,
button.bg-black {
    background: #050505 !important;
    border: 2px solid var(--fd-green) !important;
    color: var(--fd-green) !important;
    box-shadow: 0 0 0 0 rgba(140,255,0,0);
}

.btn-primary:hover,
.bg-black:hover,
button.bg-black:hover {
    background: var(--fd-green) !important;
    color: #050505 !important;
    box-shadow: 0 0 24px rgba(140,255,0,.45) !important;
}

.btn-light {
    background: var(--fd-green) !important;
    color: #050505 !important;
    border: 0 !important;
}

/* Forms */
.form-control,
.form-select,
input,
select,
textarea {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-weight: 650 !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--fd-green) !important;
    box-shadow: 0 0 0 4px rgba(140,255,0,.20) !important;
    outline: none !important;
}

input[type="checkbox"],
input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--fd-green);
}

label {
    color: #111827 !important;
    font-weight: 900;
}

/* Tables */
.table {
    color: #111827 !important;
}

.table thead th {
    color: #6b7280 !important;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 1000;
}

/* Calendar */
.fc {
    color: #111827;
}

.fc .fc-toolbar-title {
    font-weight: 1000 !important;
    letter-spacing: -.065em;
}

.fc .fc-button-primary {
    background: #050505 !important;
    border: 2px solid var(--fd-green) !important;
    color: var(--fd-green) !important;
}

.fc .fc-button-primary.fc-button-active,
.fc .fc-button-primary:hover {
    background: var(--fd-green) !important;
    color: #050505 !important;
}

.fc-event {
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.2);
    font-weight: 900;
}

/* Modal */
#bookingEditModal {
    backdrop-filter: blur(10px);
}

#bookingEditModal > div {
    background: #ffffff !important;
    color: #111827 !important;
    border-radius: 28px !important;
    border: 1px solid var(--fd-border);
    box-shadow: 0 34px 90px rgba(0,0,0,.30);
}

#bookingEditModal h2 {
    font-weight: 1000;
    letter-spacing: -.06em;
}

#editBookingServices {
    background: #f9fafb;
    border-radius: 18px !important;
    overflow: hidden;
}

/* Dashboard quick links */
.fd-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.fd-action-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    background: #050505;
    color: var(--fd-green);
    border: 2px solid var(--fd-green);
    border-radius: 999px;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(140,255,0,.16);
}

.fd-action-pill:hover {
    background: var(--fd-green);
    color: #050505;
    box-shadow: 0 0 28px rgba(140,255,0,.42);
}

@media (max-width: 1000px) {
    .fd-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .fd-action-grid {
        grid-template-columns: 1fr;
    }
}

.booking-row[data-status="confirmed"] { border-left: 4px solid #19c8ff; }
.booking-row[data-status="arrived"] { border-left: 4px solid #22c55e; }
.booking-row[data-status="completed"] { border-left: 4px solid #8cff00; }
.booking-row[data-status="no_show"] { border-left: 4px solid #ef4444; }
.booking-row[data-status="cancelled"] { border-left: 4px solid #6b7280; }

.booking-row:hover {
    background: rgba(140,255,0,.06);
}

/* Mobile/Desktop app shell */
.fd-sidebar {
    width: 280px;
    min-width: 280px;
    min-height: 100vh;
    position: sticky;
    top: 0;
}

.fd-app-content {
    min-width: 0;
}

.fd-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
}

.fd-menu-button {
    width: 42px;
    height: 42px;
    border-radius: 999px !important;
    border: 2px solid #050505 !important;
    background: #050505 !important;
    color: var(--fd-green) !important;
    font-size: 1.3rem;
    line-height: 1;
    margin-right: .75rem;
}

.fd-menu-close {
    width: 42px;
    height: 42px;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background: rgba(255,255,255,.08) !important;
    color: white !important;
    font-size: 1.7rem;
    line-height: 1;
}

.fd-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.fd-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.fd-mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 340px);
    background:
        linear-gradient(180deg, rgba(3,3,3,.98), rgba(10,10,10,.98)),
        radial-gradient(circle at top left, rgba(140,255,0,.18), transparent 18rem);
    border-right: 1px solid rgba(140,255,0,.28);
    z-index: 999;
    padding: 1rem;
    transform: translateX(-105%);
    transition: transform .24s ease;
    overflow-y: auto;
}

.fd-mobile-menu.is-open {
    transform: translateX(0);
}

body.fd-menu-active {
    overflow: hidden;
}

.fd-mobile-menu .nav-link {
    color: rgba(255,255,255,.78) !important;
    border-radius: 18px;
    font-weight: 950;
    padding: .9rem 1rem;
    margin-bottom: .35rem;
}

.fd-mobile-menu .nav-link:hover,
.fd-mobile-menu .nav-link.active {
    background: var(--fd-green);
    color: #050505 !important;
}

/* Phone/tablet optimization */
@media (max-width: 991px) {
    html,
    body {
        overflow-x: hidden;
    }

    .navbar.fd-topbar {
        min-height: 64px;
    }

    .fd-main {
        padding: 1rem !important;
    }

    .fd-hero-panel {
        border-radius: 24px;
        padding: 1.25rem;
    }

    .fd-page-title,
    h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
        line-height: .92;
    }

    .fd-page-subtitle {
        font-size: .95rem;
    }

    .fd-card,
    .card,
    .bg-white {
        border-radius: 18px !important;
    }

    .row.g-4,
    .row.g-3 {
        --bs-gutter-x: .85rem;
        --bs-gutter-y: .85rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 720px;
    }

    .btn {
        min-height: 42px;
    }

    input,
    select,
    textarea,
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px !important;
    }

    #bookingEditModal > div {
        width: calc(100vw - 1.5rem) !important;
        max-height: calc(100vh - 1.5rem);
        overflow-y: auto;
        border-radius: 22px !important;
        padding: 1rem !important;
    }

    .fc .fc-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
    }

    .fc .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: .35rem;
    }

    .fc .fc-button {
        padding: .45rem .65rem !important;
        font-size: .8rem !important;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2rem !important;
        text-align: center;
    }

    .fc {
        font-size: .82rem;
    }

    .fc-timegrid-slot {
        height: 42px !important;
    }
}

@media (max-width: 575px) {
    .fd-topbar-title .fw-black {
        font-size: .95rem;
    }

    .fd-brand-logo {
        width: 40px;
        height: 40px;
    }

    .fd-brand-name {
        font-size: 1.08rem;
    }

    .fd-brand-tag {
        font-size: .62rem;
    }

    .fd-hero-panel::before {
        display: none;
    }

    .fd-action-grid {
        grid-template-columns: 1fr !important;
    }

    .display-6 {
        font-size: 2rem;
    }

    .fd-card.p-4 {
        padding: 1rem !important;
    }

    .consultation-photo-grid,
    .row .col-md-4 {
        width: 100%;
    }

    canvas#signaturePad {
        height: 150px !important;
    }
}

/* Service selection cards */
.fd-service-option,
.service-option,
.service-checkbox,
.service-item {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: .85rem;
    min-height: 64px;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    cursor: pointer;
    transition: all .16s ease;
    font-weight: 900;
}

.fd-service-option input[type="checkbox"],
.service-option input[type="checkbox"],
.service-checkbox input[type="checkbox"],
.service-item input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    accent-color: var(--fd-green);
}

.fd-service-option:hover,
.service-option:hover,
.service-checkbox:hover,
.service-item:hover {
    border-color: var(--fd-green);
    box-shadow: 0 0 0 4px rgba(140,255,0,.12);
}

.fd-service-option.is-selected,
.service-option.is-selected,
.service-checkbox.is-selected,
.service-item.is-selected {
    background: #050505 !important;
    border-color: var(--fd-green) !important;
    color: var(--fd-green) !important;
    box-shadow:
        0 0 0 4px rgba(140,255,0,.16),
        0 0 28px rgba(140,255,0,.28);
}

.fd-service-option.is-selected *,
.service-option.is-selected *,
.service-checkbox.is-selected *,
.service-item.is-selected * {
    color: var(--fd-green) !important;
}

.fd-service-option.is-selected::after,
.service-option.is-selected::after,
.service-checkbox.is-selected::after,
.service-item.is-selected::after {
    content: "SELECTED";
    position: absolute;
    top: .65rem;
    right: .8rem;
    font-size: .65rem;
    font-weight: 1000;
    letter-spacing: .08em;
    color: #050505;
    background: var(--fd-green);
    border-radius: 999px;
    padding: .2rem .45rem;
}

@media (max-width: 768px) {
    .fd-service-option,
    .service-option,
    .service-checkbox,
    .service-item {
        min-height: 74px;
        padding: 1rem;
        border-radius: 20px;
        font-size: 1rem;
    }

    .fd-service-option input[type="checkbox"],
    .service-option input[type="checkbox"],
    .service-checkbox input[type="checkbox"],
    .service-item input[type="checkbox"] {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px;
    }
}

/* Booking summary bar */
.fd-booking-summary {
    position: sticky;
    bottom: 1rem;
    z-index: 80;
    margin-top: 1.25rem;
    background:
        linear-gradient(135deg, #050505, #111111),
        radial-gradient(circle at top left, rgba(140,255,0,.28), transparent 18rem);
    color: #ffffff;
    border: 2px solid var(--fd-green);
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        0 0 28px rgba(140,255,0,.25);
    padding: 1rem;
}

.fd-booking-summary-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fd-booking-summary-label {
    color: rgba(255,255,255,.65);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 1000;
}

.fd-booking-summary-value {
    color: var(--fd-green);
    font-size: 1.25rem;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.fd-booking-summary-muted {
    color: rgba(255,255,255,.72);
    font-size: .85rem;
    font-weight: 800;
}

.fd-booking-summary-empty {
    color: rgba(255,255,255,.65);
    font-weight: 900;
}

@media (max-width: 768px) {
    .fd-booking-summary {
        position: fixed;
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        margin: 0;
        border-radius: 22px;
    }

    .fd-booking-summary-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .65rem;
        text-align: center;
    }

    .fd-booking-summary-action {
        grid-column: span 3;
    }

    body {
        padding-bottom: 120px;
    }
}

/* Smart create booking button */
.fd-smart-create-btn {
    min-width: 260px;
    min-height: 52px;
    font-size: 1rem;
}

.fd-smart-create-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    background: #222 !important;
    color: rgba(255,255,255,.55) !important;
    border-color: #444 !important;
    box-shadow: none !important;
}

.fd-smart-create-btn.is-ready {
    animation: fdReadyPulse 1.4s ease-in-out infinite;
}

@keyframes fdReadyPulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(140,255,0,.25);
    }
    50% {
        box-shadow: 0 0 34px rgba(140,255,0,.48);
    }
}

@media (max-width: 768px) {
    .fd-smart-create-btn {
        width: 100%;
        min-height: 56px;
        font-size: 1.05rem;
        margin-top: .75rem;
    }
}

.booking-status {
    border: 2px solid #39ff14 !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    color: #000 !important;
    background: #39ff14 !important;
    min-width: 135px;
}

.booking-status[data-status="pending"] {
    background: #777 !important;
    border-color: #aaa !important;
    color: #fff !important;
}

.booking-status[data-status="confirmed"] {
    background: #39ff14 !important;
    border-color: #39ff14 !important;
    color: #000 !important;
}

.booking-status[data-status="arrived"] {
    background: #00ccff !important;
    border-color: #00ccff !important;
    color: #000 !important;
}

.booking-status[data-status="completed"] {
    background: #b45cff !important;
    border-color: #b45cff !important;
    color: #fff !important;
}

.booking-status[data-status="no_show"] {
    background: #ff2b2b !important;
    border-color: #ff2b2b !important;
    color: #fff !important;
}

.booking-status[data-status="cancelled"] {
    background: #222 !important;
    border-color: #555 !important;
    color: #aaa !important;
}


.booking-status {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;

    border: none;
    cursor: pointer;

    text-align: center;
    text-align-last: center;

    min-width: 140px;
}

/* Status colors */
.booking-status[data-status="pending"] {
    background: #777;
    color: #fff;
}

.booking-status[data-status="confirmed"] {
    background: #39ff14;
    color: #000;
}

.booking-status[data-status="arrived"] {
    background: #00ccff;
    color: #000;
}

.booking-status[data-status="completed"] {
    background: #b45cff;
    color: #fff;
}

.booking-status[data-status="no_show"] {
    background: #ff2b2b;
    color: #fff;
}

.booking-status[data-status="cancelled"] {
    background: #222;
    color: #aaa;
}

/* Hide ugly dropdown arrow (optional clean look) */
.booking-status::-ms-expand {
    display: none;
}


.booking-status {
    padding-right: 32px !important;
    background-image: linear-gradient(45deg, transparent 50%, #000 50%),
                      linear-gradient(135deg, #000 50%, transparent 50%) !important;
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50% !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}


/* Premium booking edit modal */
.fd-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.fd-modal.hidden {
    display: none !important;
}

.fd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, .58);
    backdrop-filter: blur(10px);
}

.fd-modal-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 34px 90px rgba(0,0,0,.32);
}

.fd-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #101014, #191922);
    color: #fff;
}

.fd-modal-kicker {
    display: inline-flex;
    border-radius: 999px;
    background: var(--fd-green);
    color: #080808;
    padding: .28rem .55rem;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.fd-modal-title {
    margin: 0;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -.05em;
}

.fd-modal-title::after {
    display: none;
}

.fd-modal-subtitle {
    margin: .2rem 0 0;
    color: rgba(255,255,255,.72);
    font-weight: 650;
}

.fd-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 1.6rem;
    line-height: 1;
}

.fd-modal-body {
    padding: 1.5rem;
    max-height: calc(100vh - 245px);
    overflow-y: auto;
}

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

.fd-field label {
    display: block;
    margin-bottom: .38rem;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fd-service-list {
    min-height: 58px;
    background: #f8fafc;
    border: 1px solid var(--fd-border);
    border-radius: 14px;
    overflow: hidden;
}

.fd-service-list > div {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--fd-border);
    background: #fff;
}

.fd-modal-error {
    margin-top: 1rem;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: .85rem 1rem;
    font-weight: 750;
}

.fd-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid var(--fd-border);
}

/* === ROTA UI === */

.fd-rota-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fd-rota-row {
    display: grid;
    grid-template-columns: 160px 140px 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.fd-rota-day {
    font-weight: 600;
}

.fd-rota-time input {
    width: 100%;
}

.fd-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* === STAFF EXCEPTIONS UI === */

.fd-exception-type {
    font-weight: 600;
}

.fd-choice input {
    margin-right: 6px;
}

.fd-time-block {
    transition: all 0.2s ease;
}

.fd-time-block.is-active {
    border-left: 4px solid #7CFF00;
    padding-left: 12px;
}

