:root {
    --salon-pink: #f48fb1;
    --salon-pink-dark: #ec5c8c;
    --salon-soft: #fff5f8;
    --salon-cream: #fffaf3;
    --salon-text: #3a2a32;
    --salon-muted: #94797f;
}
body {
    background: var(--salon-cream);
    color: var(--salon-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.text-salon { color: var(--salon-pink-dark); }
.bg-salon-soft { background: var(--salon-soft); }
.btn-salon {
    background: var(--salon-pink);
    border-color: var(--salon-pink);
    color: #fff;
    font-weight: 600;
}
.btn-salon:hover { background: var(--salon-pink-dark); border-color: var(--salon-pink-dark); color: #fff; }
.btn-salon-outline {
    border: 1.5px solid var(--salon-pink);
    color: var(--salon-pink-dark);
    background: #fff;
    font-weight: 600;
}
.btn-salon-outline:hover { background: var(--salon-soft); }
.card { border: 0; border-radius: 14px; box-shadow: 0 4px 14px rgba(216,128,162,.08); }
.navbar-salon { background: linear-gradient(90deg, #ffd1dc, #ffe6ee); }
.sidebar-salon {
    background: #fff;
    min-height: 100vh;
    border-right: 1px solid #f3dde5;
}
.sidebar-salon .nav-link {
    color: var(--salon-text);
    padding: .55rem 1rem;
    border-radius: 8px;
    margin-bottom: 2px;
}
.sidebar-salon .nav-link.active,
.sidebar-salon .nav-link:hover { background: var(--salon-soft); color: var(--salon-pink-dark); }

.sidebar-salon .nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem 1rem;
    color: var(--salon-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
}
.sidebar-salon .nav-group-header:hover { color: var(--salon-pink-dark); background: var(--salon-soft); }
.sidebar-salon .nav-group-header .chev {
    display: inline-block;
    transition: transform .2s ease;
    font-size: .9rem;
    opacity: .7;
}
.sidebar-salon .nav-group-header[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.sidebar-salon .nav-sub { padding-left: 1.5rem !important; font-size: .9rem; }
.sidebar-salon .nav-group { margin-bottom: .25rem; }
.kpi {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: 0 4px 14px rgba(216,128,162,.08);
}
.kpi .label { color: var(--salon-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; }
.kpi .value { font-size: 1.6rem; font-weight: 700; color: var(--salon-text); }
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #f3dde5;
    display: flex;
    justify-content: space-around;
    padding: .35rem 0 .5rem;
    padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
}
.bottom-nav a {
    color: var(--salon-muted);
    text-decoration: none;
    font-size: .75rem;
    text-align: center;
    flex: 1;
    padding: .25rem 0;
}
.bottom-nav a.active { color: var(--salon-pink-dark); font-weight: 600; }
.bottom-nav a .ico { font-size: 1.2rem; display: block; }
.page { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.badge-soft { background: var(--salon-soft); color: var(--salon-pink-dark); font-weight: 600; }
.status-pending     { background:#fff3cd; color:#856404; }
.status-confirmed   { background:#d1ecf1; color:#0c5460; }
.status-completed   { background:#d4edda; color:#155724; }
.status-cancelled   { background:#f8d7da; color:#721c24; }
.status-no_show     { background:#e2e3e5; color:#383d41; }
.status-pill { padding: .25rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.referral-code-box {
    background: var(--salon-soft);
    border: 2px dashed var(--salon-pink);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--salon-pink-dark);
}
@media (min-width: 992px) {
    .page { padding-bottom: 0; }
}
/* Floating notice bell (admin layout) */
.notice-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
}
.notice-bell {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 0;
    background: var(--salon-pink);
    color: #fff;
    box-shadow: 0 8px 24px rgba(216, 128, 162, .35);
    cursor: pointer;
    position: relative;
    transition: transform .15s ease;
}
.notice-bell:hover  { background: var(--salon-pink-dark); transform: scale(1.05); }
.notice-bell:active { transform: scale(.95); }
.notice-bell-icon { font-size: 1.5rem; line-height: 1; }
.notice-badge {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 22px; height: 22px;
    border-radius: 11px;
    background: #d32f2f;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 6px;
    border: 2px solid #fff;
}
.notice-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    max-height: 60vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(58, 42, 50, .2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.notice-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .75rem 1rem;
    border-bottom: 1px solid #f3dde5;
    background: var(--salon-soft);
}
.notice-list {
    overflow-y: auto;
    max-height: calc(60vh - 50px);
}
.notice-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1rem;
    color: var(--salon-text);
    text-decoration: none;
    border-bottom: 1px solid #faecf1;
}
.notice-item:hover { background: var(--salon-soft); }
.notice-item:last-child { border-bottom: 0; }
.notice-ico    { font-size: 1.3rem; }
.notice-label  { flex: 1; font-size: .9rem; font-weight: 500; }
.notice-count {
    background: var(--salon-pink);
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    border-radius: 11px;
    padding: 2px 8px;
    min-width: 24px;
    text-align: center;
}
@media (max-width: 575.98px) {
    .notice-fab { right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
    .notice-panel { width: calc(100vw - 1.5rem); right: 0; }
}

/* Brand fallback (no logo uploaded yet) */
.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--salon-pink-dark);
}
.hero-vector img { box-shadow: 0 4px 14px rgba(216,128,162,.10); }

/* Help / training page */
.help-doc h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #f3dde5;
    color: var(--salon-pink-dark);
    scroll-margin-top: 1rem;
}
.help-doc h2:first-child { margin-top: 0; }
.help-doc h5 { margin-top: 1.2rem; font-size: 1rem; font-weight: 700; }
.help-doc code {
    background: #fff5f8;
    color: var(--salon-pink-dark);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .85em;
}
.help-doc table code { background: transparent; padding: 0; }
.help-toc .nav-link {
    color: var(--salon-text);
    border-radius: 6px;
}
.help-toc .nav-link:hover { background: var(--salon-soft); color: var(--salon-pink-dark); }

@media print {
    .sidebar-salon, .navbar-salon, .notice-fab, .help-toc, .btn { display: none !important; }
    .col-lg-9 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
    .help-doc { box-shadow: none !important; }
    body { background: #fff !important; color: #000 !important; }
    h1, h2, h5 { page-break-after: avoid; }
    a { color: #000 !important; text-decoration: none !important; }
}

.calendar-grid { display:grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-day { background:#fff; border-radius: 10px; padding:.5rem; min-height: 110px; }
.calendar-day h6 { font-size:.8rem; color:var(--salon-muted); }
.cal-event { font-size:.72rem; background: var(--salon-soft); border-left:3px solid var(--salon-pink); padding:2px 5px; margin-bottom:3px; border-radius: 4px; }