/* Drashti Beauty Salon — global polish on top of MudBlazor.
   Theme: "Ink & Coral" — coral #E4674F accent, near-black ink, crisp white. */

:root {
    --plum: #E4674F;   /* accent (kept the var name to avoid churn) */
    --gold: #E4674F;   /* single accent now — same coral */
    --cream: #FAFAFA;
    --ink: #1C1B22;
    --muted: #8B8791;
    --line: #EEEEEF;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    height: auto;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--cream);
}

/* Make sure page content can scroll clear of the fixed bottom navigation. */
.mud-main-content {
    padding-bottom: calc(96px + var(--safe-bottom)) !important;
}

/* Display font for headings */
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: 'Poppins', 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
    color: var(--ink);
}

/* App bar: clean white with a hairline border (no heavy colour). */
.mud-appbar.mud-appbar-fixed-top {
    background: #FFFFFF !important;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: none !important;
}
.bs-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: .2px;
}
.bs-brand .bs-brand-accent { color: var(--plum); }

/* Cards / surfaces: soft, rounded, gentle neutral shadow */
.mud-paper {
    border-radius: 16px;
}
.bs-card {
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(28, 27, 34, 0.06) !important;
    border: 1px solid var(--line);
}

/* Section label above groups of cards */
.bs-section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    color: var(--plum);
    margin: 4px 4px 8px;
}

/* Buttons: sentence case, comfortable radius */
.mud-button-root {
    text-transform: none;
    font-weight: 600;
    border-radius: 12px;
}

/* Filter chips */
.bs-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2px 2px 6px;
}
.bs-filter-row > * { flex: 0 0 auto; }
.bs-filter-row .mud-button-label,
.bs-filter-row .mud-button-root { white-space: nowrap; }

/* Bottom navigation */
.mud-appbar.mud-appbar-fixed-bottom {
    background: #FFFFFF !important;
    border-top: 1px solid var(--line);
    padding-bottom: var(--safe-bottom);
    box-shadow: 0 -4px 18px rgba(28, 27, 34, 0.05) !important;
}
.bs-bottomlink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1 1 0;
    padding: 6px 0;
    min-height: 44px;
    color: var(--muted);
    text-decoration: none;
}
.bs-bottomlink .mud-typography { font-size: .68rem; }
.bs-bottomlink.bs-active { color: var(--plum); }
.bs-bottomlink.bs-active .mud-icon-root { transform: translateY(-1px); }

/* List items: a bit more breathing room for thumbs */
.mud-list-item { min-height: 52px; }

code {
    background: rgba(28, 27, 34, 0.05);
    padding: 0 4px;
    border-radius: 4px;
}

/* Service picker rows */
.bs-service-list {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}
.bs-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    min-height: 56px;
    cursor: pointer;
    border-bottom: 1px solid #F2F2F3;
}
.bs-service-row:last-child { border-bottom: none; }
.bs-service-row:active { background: #F6F6F7; }
.bs-service-row--sel {
    background: #FCEAE6;                 /* light coral tint */
    box-shadow: inset 3px 0 0 var(--plum);
}

/* Empty-state helper */
.bs-empty {
    text-align: center;
    color: var(--muted);
    padding: 28px 12px;
}
.bs-empty .mud-icon-root {
    font-size: 44px;
    color: #D8D8DC;
    margin-bottom: 6px;
}

/* Notification bell dropdown: unread rows get a light coral tint */
.bs-notif-unread {
    background: #FCEAE6;
    box-shadow: inset 3px 0 0 var(--plum);
}
