/* BeBeauty — Shabnam (public_html/assets/fonts/) */

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam-Light.eot');
    src: url('../fonts/Shabnam-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Shabnam-Light.woff2') format('woff2'),
         url('../fonts/Shabnam-Light.woff') format('woff'),
         url('../fonts/Shabnam-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam.eot');
    src: url('../fonts/Shabnam.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Shabnam.woff2') format('woff2'),
         url('../fonts/Shabnam.woff') format('woff'),
         url('../fonts/Shabnam.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam-Bold.eot');
    src: url('../fonts/Shabnam-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Shabnam-Bold.woff2') format('woff2'),
         url('../fonts/Shabnam-Bold.woff') format('woff'),
         url('../fonts/Shabnam-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* BeBeauty Luxury — Rose & Champagne */
    --accent: #A8556F;
    --accent-dark: #7D3F54;
    --accent-light: #F3E8EC;
    --accent-glow: rgba(168, 85, 111, 0.2);
    --gold: #C9A86C;
    --gold-dark: #A8884E;
    --gold-light: #F5ECD7;
    --bg: #FBF7F4;
    --bg-soft: #F5EBE3;
    --surface: #FFFFFF;
    --text: #2D2426;
    --muted: #8B7379;
    --border: #E8D5DC;
    --success: #4A8B6E;
    --warning: #C49A4A;
    --danger: #B85C5C;
    --radius: 20px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --shadow: 0 4px 24px rgba(45, 36, 38, 0.06);
    --shadow-lg: 0 12px 40px rgba(45, 36, 38, 0.1);
    --font: 'Shabnam', 'Tahoma', sans-serif;
    --nav-height: 64px;
}

[data-theme="dark"] {
    --bg: #2A1520;
    --surface: #3D2430;
    --text: #F5EFED;
    --muted: #B0A0A8;
    --border: #5A3545;
    --accent-light: #4A2535;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

.app-shell:has(.auth-layout) {
    max-width: 100%;
    padding-bottom: 0;
    background: transparent;
}

.app-shell {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100dvh;
    padding-bottom: calc(var(--nav-height) + 16px);
    background: var(--bg);
}

h1, h2, h3 { font-weight: 700; line-height: 1.3; margin: 0 0 0.5em; }
.page-title { font-size: 1.25rem; }
.page-subtitle { font-size: 0.875rem; color: var(--muted); margin: 0; }

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.page-header-logout {
    margin: 0;
    flex-shrink: 0;
}

.page-header-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.page-header-logout-btn:hover {
    color: var(--danger);
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.06);
}

.page-header-logout-btn svg {
    display: block;
}

.logo-sm { border-radius: 8px; }

.theme-toggle {
    display: none !important;
}

.auth-layout {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px 32px;
    padding-top: max(16px, env(safe-area-inset-top, 16px));
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(165deg, #FBF7F4 0%, #F5EBE3 50%, #EFE0D8 100%);
}

.auth-portal-salon {
    background: linear-gradient(155deg, #1E1018 0%, #3D2430 35%, #5C3345 70%, #4A2535 100%);
}

.auth-portal-platform,
.auth-portal-admin {
    background: linear-gradient(155deg, #1A1520 0%, #2A2035 50%, #352845 100%);
}

.auth-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.auth-orb-1 {
    width: 280px;
    height: 280px;
    background: var(--accent);
    top: -80px;
    left: -60px;
    opacity: 0.25;
}

.auth-orb-2 {
    width: 220px;
    height: 220px;
    background: var(--gold);
    bottom: 10%;
    right: -40px;
    opacity: 0.2;
}

.auth-orb-3 {
    width: 160px;
    height: 160px;
    background: #fff;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
}

.auth-portal-salon .auth-orb-1 { background: #D4AF72; opacity: 0.35; }
.auth-portal-salon .auth-orb-2 { background: #A8556F; opacity: 0.3; }
.auth-portal-salon .auth-orb-3 { background: #F5ECD7; opacity: 0.08; }

.auth-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
    margin-bottom: 18px;
    width: 100%;
}

.auth-brand-text {
    flex: 1;
    min-width: 0;
}

.auth-logo-wrap {
    position: relative;
    display: block;
    flex-shrink: 0;
    margin-bottom: 0;
}

.logo-auth {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(125, 63, 84, 0.2);
}

.auth-portal-salon .logo-auth {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 114, 0.2);
}

.auth-portal-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--accent-dark);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(201, 168, 108, 0.4);
    border: 2px solid #fff;
}

.auth-portal-badge svg {
    width: 14px !important;
    height: 14px !important;
}

.auth-portal-salon .auth-portal-badge {
    background: linear-gradient(135deg, #F5ECD7, #D4AF72);
    color: #3D2430;
}

.auth-portal-platform .auth-portal-badge,
.auth-portal-admin .auth-portal-badge {
    background: linear-gradient(135deg, #E8E0F0, #9B8AB8);
    color: #2A2035;
}

.auth-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin: 0 0 2px;
}

.auth-portal-customer .auth-eyebrow { display: none; }

.auth-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 2px;
    line-height: 1.35;
}

.auth-portal-salon .auth-title,
.auth-portal-platform .auth-title,
.auth-portal-admin .auth-title {
    color: #FFFCFA;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.auth-tagline {
    color: var(--muted);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}

.auth-portal-salon .auth-tagline,
.auth-portal-platform .auth-tagline,
.auth-portal-admin .auth-tagline {
    color: rgba(255, 252, 248, 0.72);
}

.auth-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 20px 18px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.auth-portal-salon .auth-card,
.auth-portal-platform .auth-card,
.auth-portal-admin .auth-card {
    background: rgba(255, 252, 248, 0.98);
    border: 1px solid rgba(212, 175, 114, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.auth-card-intro {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

.auth-card-intro strong {
    color: var(--accent-dark);
    font-weight: 700;
}

.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 6px;
    background: var(--bg-soft);
    border-radius: 999px;
}

.auth-portal-salon .auth-steps,
.auth-portal-platform .auth-steps {
    background: rgba(125, 63, 84, 0.08);
}

.auth-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.auth-step-icon {
    display: flex;
    opacity: 0.6;
}

.auth-step.is-active {
    color: var(--accent-dark);
    background: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(45, 36, 38, 0.08);
}

.auth-step.is-active .auth-step-icon { opacity: 1; color: var(--accent); }

.auth-step.is-done {
    color: var(--success);
}

.auth-step-sep {
    width: 20px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    flex-shrink: 0;
}

.auth-mobile-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-mobile-chip-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--accent-light), #fff);
    color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.auth-mobile-chip-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-mobile-chip-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 700;
}

.auth-mobile-chip-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-dark);
    direction: ltr;
    text-align: right;
    letter-spacing: 0.06em;
}

.auth-mobile-chip-action {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.15s ease;
}

.auth-mobile-chip-action:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

.auth-portal-salon .auth-mobile-chip {
    background: linear-gradient(135deg, #FAF6F0 0%, #fff 100%);
    border-color: rgba(212, 175, 114, 0.35);
}

.auth-portal-salon .auth-mobile-chip-icon {
    background: linear-gradient(145deg, var(--gold-light), #fff);
    color: var(--gold-dark);
    box-shadow: 0 4px 14px rgba(212, 175, 114, 0.25);
}

.auth-portal-salon .auth-mobile-chip-value { color: #3D2430; }

.auth-portal-salon .auth-mobile-chip-action {
    color: var(--gold-dark);
    border-color: rgba(212, 175, 114, 0.4);
}

.auth-portal-salon .auth-mobile-chip-action:hover {
    background: var(--gold-light);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.auth-otp-form {
    margin: 0;
    padding: 0;
    border: none;
}

.auth-otp-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(45, 36, 38, 0.04);
}

.auth-otp-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-1px);
}

.auth-otp-btn:active {
    transform: translateY(0);
}

.auth-otp-btn-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--accent);
}

.auth-otp-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.auth-otp-btn-text strong {
    font-size: 0.92rem;
    color: var(--text);
}

.auth-otp-btn-text small {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 400;
}

.auth-otp-btn-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--muted);
    opacity: 0.5;
}

.auth-portal-salon .auth-otp-btn:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    box-shadow: 0 6px 20px rgba(212, 175, 114, 0.25);
}

.auth-portal-salon .auth-otp-btn-icon {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.input-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(45, 36, 38, 0.03);
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow), inset 0 1px 2px rgba(45, 36, 38, 0.02);
}

.input-group-icon {
    flex-shrink: 0;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
    border: none;
    border-radius: 0;
}

.input-group input,
.input-group input[type="text"],
.input-group input[type="tel"],
.input-group input[type="password"],
.input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    width: auto;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px 16px;
    background: transparent !important;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text);
    box-shadow: none !important;
}

.input-group input:focus,
.input-group input[type="password"]:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.auth-portal-salon .input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 114, 0.22), inset 0 1px 2px rgba(45, 36, 38, 0.02);
}

.auth-portal-salon .input-group-icon {
    color: var(--gold-dark);
    background: linear-gradient(180deg, var(--gold-light) 0%, #fff 100%);
}

.input-ltr {
    direction: ltr;
    text-align: left;
}

.input-group-otp .input-ltr {
    text-align: center;
    letter-spacing: 0.35em;
    font-size: 1.15rem;
    font-weight: 700;
}

.auth-card .auth-password-form {
    margin-bottom: 0;
}

/* Legacy — kept for other pages */
.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: flex;
}

.input-icon-wrap input {
    padding-right: 46px;
}

.auth-card .form-group { margin-bottom: 20px; }

.auth-card label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.auth-card .btn-primary {
    margin-top: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px var(--accent-glow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.auth-card .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.auth-card .btn-primary > * {
    position: relative;
    z-index: 1;
}

.auth-card .btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 32px var(--accent-glow);
    transform: translateY(-1px);
}

.auth-card .btn-primary:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.auth-portal-salon .auth-card .btn-primary {
    background: linear-gradient(145deg, #F0D48A 0%, #D4AF72 42%, #A8884E 100%);
    color: #1A0E14;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 6px 0 rgba(140, 108, 58, 0.35),
        0 14px 36px rgba(212, 175, 114, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-portal-salon .auth-card .btn-primary:hover {
    background: linear-gradient(145deg, #F5DE9A 0%, #E0C080 42%, #B8935A 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 0 rgba(140, 108, 58, 0.3),
        0 18px 42px rgba(212, 175, 114, 0.55);
}

.auth-portal-salon .auth-card .btn-primary:active {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 2px 0 rgba(140, 108, 58, 0.35),
        0 8px 24px rgba(212, 175, 114, 0.4);
}

.auth-portal-platform .auth-card .btn-primary,
.auth-portal-admin .auth-card .btn-primary {
    background: linear-gradient(145deg, #9E5670 0%, #7D3F54 50%, #5C3345 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 6px 0 rgba(60, 30, 42, 0.4),
        0 14px 36px rgba(125, 63, 84, 0.4);
}

.auth-hint-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.auth-portal-salon .auth-hint-card,
.auth-portal-platform .auth-hint-card {
    background: rgba(255, 252, 248, 0.12);
    border-color: rgba(255, 252, 248, 0.15);
    color: rgba(255, 252, 248, 0.75);
}

.auth-footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
}

.auth-footer-links a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer-links a:hover { text-decoration: underline; }

.auth-portal-salon .auth-footer-links a,
.auth-portal-platform .auth-footer-links a,
.auth-portal-admin .auth-footer-links a {
    color: var(--gold-dark);
}

.otp-input {
    letter-spacing: 0.35em;
    font-size: 1.15rem;
    font-weight: 700;
}

.auth-card .btn-primary {
    display: inline-flex;
    width: 100%;
}

.auth-card .flash {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.form-group { margin-bottom: 16px; }

.form-range-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-range-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-range-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 6px 0 0;
}

.book-duration-hint {
    font-size: 0.85em;
    color: var(--muted);
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    background: var(--surface);
    color: var(--text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-group:focus-within input:focus {
    border-color: transparent;
    box-shadow: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    width: 100%;
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8657D 0%, #6E3850 100%);
}

/* Inline action buttons (inside pick cards, etc.) */
.pick-card .btn-primary,
.list-item .btn-primary,
.booking-actions .btn-primary {
    width: auto;
}

.btn-secondary {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-sm { padding: 8px 14px; font-size: 0.875rem; }

.flash {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.flash-success { background: #E8F5EE; color: var(--success); border: 1px solid #B8DEC8; }
.flash-error { background: #FDECEC; color: var(--danger); border: 1px solid #F0B8B8; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-success { background: #E8F5EE; color: var(--success); }
.badge-warning { background: #FDF3E3; color: var(--warning); }
.badge-danger { background: #FDECEC; color: var(--danger); }
.badge-muted { background: var(--border); color: var(--muted); }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(45, 36, 38, 0.04);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.65rem;
    padding: 8px;
    flex: 1;
}

.bottom-nav-item.active {
    color: var(--accent-dark);
    font-weight: 700;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.list-item:last-child { border-bottom: none; }
.list-item-body { flex: 1; min-width: 0; }
.list-item-title { font-weight: 700; margin: 0 0 4px; line-height: 1.4; }
.list-item-meta { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Booking — service / staff pick cards */
.pick-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pick-card-info {
    flex: 1;
    min-width: 0;
}

.pick-card-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 6px;
    line-height: 1.4;
    color: var(--text);
}

.pick-card-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.pick-card .btn {
    flex-shrink: 0;
    min-width: 80px;
    padding: 10px 18px;
}

.card-form {
    margin-bottom: 12px;
}

.card-form:last-child {
    margin-bottom: 0;
}

.service-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.service-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 400;
}

.service-check-item input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.service-check-item span {
    flex: 1;
    line-height: 1.5;
}

.card-pending {
    border-color: var(--warning);
    box-shadow: 0 0 0 1px rgba(212, 160, 84, 0.35);
}

.salon-grid {
    display: grid;
    gap: 12px;
    padding: 0 16px 16px;
}

.service-chip {
    display: inline-flex;
    padding: 8px 14px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin: 4px;
    border: 1px solid transparent;
}

.service-chip.selected {
    background: var(--accent);
    color: #fff;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.time-slot {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    font-size: 0.875rem;
}

.time-slot.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.content { padding: 16px 20px; }

.section-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--muted);
    margin: 24px 0 12px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--muted);
}

.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

th, td {
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid var(--border);
}

th { font-weight: 700; color: var(--muted); font-size: 0.75rem; }

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gap-2 { gap: 16px; }
.mt-1 { margin-top: 8px; }

/* ─── Jalali Calendar ─────────────────────────────────────────── */
.jalali-calendar {
    background: linear-gradient(145deg, var(--surface) 0%, var(--accent-light) 120%);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 100%;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 2px;
    gap: 8px;
}

.cal-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 50%;
    text-decoration: none;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--accent-glow);
    transition: transform 0.15s, background 0.15s;
}

.cal-nav:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

.cal-title {
    text-align: center;
}

.cal-month {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.cal-year {
    font-size: 0.875rem;
    color: var(--muted);
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
}

.cal-weekdays span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-weekdays span:last-child {
    color: var(--danger);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.cal-cell {
    aspect-ratio: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.8125rem;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.cal-empty { visibility: hidden; }

.cal-day {
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border: 1px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
}

.cal-day:hover:not(.cal-past) {
    border-color: var(--accent);
    transform: none;
    box-shadow: inset 0 0 0 1px var(--accent), 0 2px 8px var(--accent-glow);
}

.cal-today {
    box-shadow: inset 0 0 0 2px var(--accent);
    font-weight: 700;
}

.cal-selected {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent-dark) !important;
    box-shadow: inset 0 0 0 1px var(--accent-dark);
}

.cal-selected .cal-dot { color: rgba(255,255,255,0.9) !important; }

.cal-past {
    opacity: 0.45;
    cursor: default;
}

.cal-friday:not(.cal-selected) .cal-num {
    color: var(--danger);
}

.cal-has-bookings:not(.cal-selected) {
    background: var(--accent-light);
}

.cal-num {
    line-height: 1.1;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-dot {
    font-size: 0.5rem;
    color: var(--accent);
    letter-spacing: -2px;
    margin-top: 1px;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    transform: scale(0.95);
    transform-origin: center;
}

.cal-legend {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 0.7rem;
    color: var(--muted);
}

.cal-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-booking {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.ring-sample {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: inline-block;
}

/* ─── Booking cards ───────────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stat-chip {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--muted);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 12px;
}

.section-title-inline {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.booking-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 14px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.booking-card-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 8px 6px;
    background: var(--accent-light);
    border-radius: 10px;
}

.booking-hour {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-dark);
}

.booking-duration {
    font-size: 0.65rem;
    color: var(--muted);
}

.booking-card-body { flex: 1; min-width: 0; }

.booking-card-title {
    font-weight: 700;
    margin: 0 0 6px;
    font-size: 0.95rem;
}

.booking-card-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-card-wrap { margin-bottom: 12px; }

.booking-card-wrap-pending .booking-card {
    border-color: var(--warning);
    box-shadow: 0 4px 20px rgba(196, 154, 74, 0.15);
}

.booking-card-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 8px 0 0;
    padding: 8px 10px;
    background: var(--bg-soft);
    border-radius: 8px;
    line-height: 1.5;
}

.manager-panel .booking-card-note {
    background: #fff;
    border: 1px dashed var(--border);
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-right: 64px;
}

.inline-form { display: inline; }

.empty-state-compact {
    padding: 32px 20px;
}

.cal-day.cal-available:not(.cal-selected) {
    background: #E8F5EE;
    border-color: #B8DEC8;
}

.cal-available .cal-dot {
    color: var(--success);
    font-size: 0.65rem;
}

/* ─── Manager Dashboard ───────────────────────────────────────── */
.app-shell:has(.manager-panel) {
    /* ثابت نگه داشتن متغیرهای تم روشن داخل پنل مدیر — حتی با data-theme="dark" */
    --bg: #FBF7F4;
    --bg-soft: #F5EBE3;
    --surface: #FFFFFF;
    --text: #2D2426;
    --muted: #8B7379;
    --border: #E8D5DC;
    --accent-light: #F3E8EC;
    --shadow: 0 4px 24px rgba(45, 36, 38, 0.06);
    background: linear-gradient(155deg, #1E1018 0%, #3D2430 35%, #5C3345 70%, #4A2535 100%);
    position: relative;
    min-height: 100dvh;
}

.app-shell:has(.manager-panel) .page-header {
    background: rgba(255, 252, 248, 0.06);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 114, 0.15);
}

.app-shell:has(.manager-panel) .page-title {
    color: #FFFCFA;
}

.app-shell:has(.manager-panel) .page-subtitle {
    color: rgba(255, 252, 248, 0.65);
}

.app-shell:has(.manager-panel) .page-header-logout-btn {
    background: rgba(255, 252, 248, 0.08);
    border-color: rgba(212, 175, 114, 0.25);
    color: rgba(255, 252, 248, 0.7);
}

.app-shell:has(.manager-panel) .page-header-logout-btn:hover {
    color: #ffb4b4;
    border-color: rgba(255, 120, 120, 0.4);
    background: rgba(255, 80, 80, 0.12);
}

.app-shell:has(.manager-panel) .theme-toggle {
    display: none;
}

.app-shell:has(.manager-panel) .bottom-nav {
    background: rgba(26, 14, 20, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(212, 175, 114, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.app-shell:has(.manager-panel) .bottom-nav-item {
    color: rgba(255, 252, 248, 0.5);
}

.app-shell:has(.manager-panel) .bottom-nav-item.active {
    color: var(--gold);
}

.manager-panel,
.manager-dashboard {
    position: relative;
    z-index: 1;
    padding-bottom: 24px;
}

.manager-panel .card,
.manager-panel .dash-panel,
.manager-panel .share-card,
.manager-panel .jalali-calendar {
    background: rgba(255, 252, 248, 0.97);
    border: 1px solid rgba(212, 175, 114, 0.28);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.manager-panel .card-title {
    color: var(--accent-dark);
    font-size: 1rem;
    margin-bottom: 16px;
}

.manager-panel .section-title,
.manager-panel .section-title-inline {
    color: var(--gold-light);
}

.manager-panel .section-header {
    margin-top: 8px;
}

.manager-panel .text-muted {
    color: rgba(255, 252, 248, 0.55);
}

.manager-panel .card .text-muted,
.manager-panel .dash-panel .text-muted,
.manager-panel .empty-state .text-muted,
.manager-panel .empty-state-compact .text-muted,
.manager-panel .share-card .text-muted,
.manager-panel .stat-chip .text-muted {
    color: var(--muted);
}

.manager-panel .stat-chip {
    background: rgba(255, 252, 248, 0.95);
    border-color: rgba(212, 175, 114, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.manager-panel .stat-num {
    color: var(--accent-dark);
}

.manager-panel .booking-card {
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.manager-panel .booking-card-time {
    background: linear-gradient(180deg, var(--gold-light), #fff);
}

.manager-panel .booking-hour {
    color: var(--accent-dark);
}

.manager-panel .empty-state,
.manager-panel .empty-state-compact {
    background: rgba(255, 252, 248, 0.92);
    border-radius: var(--radius);
    border: 1px dashed rgba(212, 175, 114, 0.35);
    color: var(--muted);
}

.manager-panel .empty-state > p,
.manager-panel .empty-state-compact > p {
    color: var(--accent-dark);
    font-weight: 700;
    margin: 12px 0 0;
}

.manager-panel .empty-state svg,
.manager-panel .empty-state-compact svg {
    color: var(--muted);
    opacity: 0.65;
}

.manager-panel .flash {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.manager-panel .btn-primary {
    background: linear-gradient(145deg, #F0D48A 0%, #D4AF72 42%, #A8884E 100%);
    color: #1A0E14;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 6px 0 rgba(140, 108, 58, 0.3),
        0 10px 28px rgba(212, 175, 114, 0.4);
    border-radius: 999px;
}

.manager-panel .btn-primary:hover {
    filter: brightness(1.04);
}

.manager-panel .btn-secondary {
    background: rgba(255, 252, 248, 0.9);
    color: var(--accent-dark);
    border: 1px solid rgba(212, 175, 114, 0.35);
    border-radius: 999px;
}

.manager-panel .btn-danger {
    border-radius: 999px;
}

.manager-panel .service-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.manager-panel .service-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.manager-panel .service-check-item:has(input:checked) {
    border-color: var(--gold);
    background: var(--gold-light);
}

.manager-panel .list-item-title {
    color: var(--accent-dark);
    font-weight: 700;
}

.manager-panel input:not(.input-group input),
.manager-panel select,
.manager-panel textarea {
    border-color: var(--border);
    border-radius: 12px;
}

.manager-panel input:focus,
.manager-panel select:focus,
.manager-panel textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 114, 0.25);
}

.manager-panel .cal-nav {
    background: #fff;
    color: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 114, 0.2);
}

.manager-panel .cal-nav:hover {
    background: var(--gold);
    color: #1A0E14;
}

.manager-panel .page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 16px;
}

.manager-bg-decor {
    position: fixed;
    inset: 0;
    max-width: 430px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.manager-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.manager-orb-1 {
    width: 260px;
    height: 260px;
    background: #D4AF72;
    top: 8%;
    right: -60px;
    opacity: 0.28;
}

.manager-orb-2 {
    width: 200px;
    height: 200px;
    background: #A8556F;
    bottom: 25%;
    left: -50px;
    opacity: 0.25;
}

.manager-orb-3 {
    width: 140px;
    height: 140px;
    background: #F5ECD7;
    top: 45%;
    left: 40%;
    opacity: 0.06;
}

.manager-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: rgba(255, 252, 248, 0.97);
    border: 1px solid rgba(212, 175, 114, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.manager-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 114, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.manager-hero-text {
    position: relative;
    z-index: 1;
}

.manager-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
    margin: 0 0 6px;
}

.manager-hero-greet {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 6px;
}

.manager-hero-sub {
    font-size: 0.88rem;
    margin: 0;
    color: var(--muted);
}

.manager-hero-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--accent-dark);
    box-shadow: 0 8px 20px rgba(212, 175, 114, 0.45);
    position: relative;
    z-index: 1;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

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

.manager-panel .dash-panel .jalali-calendar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.dash-panel {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.dash-panel.booking-timeline {
    padding: 16px;
}

.dash-panel.booking-timeline .booking-card-wrap:last-child {
    margin-bottom: 0;
}

.dash-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    background: rgba(255, 252, 248, 0.95);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 252, 248, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.dash-stat-icon {
    color: var(--muted);
    opacity: 0.7;
}

.dash-stat-num {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.dash-stat-label {
    font-size: 0.68rem;
    color: var(--muted);
    font-weight: 700;
}

.dash-stat-accent {
    border-color: var(--accent);
    background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
}

.dash-stat-accent .dash-stat-num { color: var(--accent-dark); }
.dash-stat-accent .dash-stat-icon { color: var(--accent); opacity: 1; }

.dash-stat-warn {
    border-color: var(--warning);
    background: linear-gradient(180deg, #fff 0%, #FDF3E3 100%);
}

.dash-stat-warn .dash-stat-num { color: var(--warning); }
.dash-stat-warn .dash-stat-icon { color: var(--warning); opacity: 1; }

.dash-section {
    margin-bottom: 24px;
}

.dash-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dash-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0;
}

.dash-section-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.dash-section-link:hover { text-decoration: underline; }

.manager-panel .dash-section-title .text-muted {
    color: rgba(255, 252, 248, 0.55);
    font-weight: 400;
    font-size: 0.85em;
}

.share-card {
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 114, 0.3);
    background: rgba(255, 252, 248, 0.97);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.share-card-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.6;
}

.share-card-desc strong {
    color: var(--accent-dark);
    font-weight: 700;
}

.share-link-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.share-link-item:last-child { margin-bottom: 0; }

.share-link-item:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(212, 175, 114, 0.2);
}

.share-link-info {
    flex: 1;
    min-width: 0;
}

.share-link-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 2px;
}

.share-link-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.share-link-url-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    padding: 10px 12px;
    background: var(--bg-soft);
    border-radius: 10px;
    border: 1px dashed var(--border);
    direction: ltr;
    text-align: left;
    line-height: 1.5;
    word-break: break-all;
}

.share-link-host {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 700;
}

.share-link-path {
    font-size: 0.78rem;
    color: var(--text);
    font-weight: 700;
}

.share-link-query {
    font-size: 0.78rem;
    color: var(--accent-dark);
    font-weight: 700;
}

.share-copy-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--accent-dark);
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 114, 0.35);
}

.share-copy-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(212, 175, 114, 0.5);
}

.share-copy-btn.copied {
    background: var(--success);
    color: #fff;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 252, 248, 0.95);
    border: 1px solid rgba(212, 175, 114, 0.25);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.18s ease;
}

.quick-action:hover {
    border-color: var(--gold);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 114, 0.3);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--gold-light), #fff);
    color: var(--accent-dark);
}

.quick-action-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 360px) {
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Manager Profile ─────────────────────────────────────────── */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    background: rgba(255, 252, 248, 0.97);
    border: 1px solid rgba(212, 175, 114, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.profile-hero-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: var(--accent-dark);
    box-shadow: 0 8px 20px rgba(212, 175, 114, 0.45);
}

.profile-hero-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 4px;
}

.profile-hero-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0 0 6px;
}

.profile-hero-mobile {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    direction: ltr;
    text-align: right;
}

.profile-logout {
    margin-top: 8px;
}

.manager-panel .profile-logout .btn-danger {
    background: rgba(184, 92, 92, 0.15);
    color: #F5C6C6;
    border: 1px solid rgba(184, 92, 92, 0.35);
}

.manager-panel .profile-logout .btn-danger:hover {
    background: var(--danger);
    color: #fff;
}

.manager-panel .form-group label {
    color: var(--accent-dark);
}

.manager-panel .input-group {
    background: #fff;
    border-color: var(--border);
}

.manager-panel .input-group input {
    color: var(--text) !important;
}

/* ─── Customer Panel ──────────────────────────────────────────── */
.app-shell:has(.customer-panel) {
    background: linear-gradient(165deg, #FBF7F4 0%, #F5EBE3 45%, #F3E8EC 100%);
    position: relative;
    min-height: 100dvh;
}

[data-theme="dark"] .app-shell:has(.customer-panel) {
    background: linear-gradient(165deg, #1A1018 0%, #2A1520 45%, #3D2430 100%);
}

.app-shell:has(.customer-panel) .page-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 213, 220, 0.8);
    box-shadow: 0 4px 20px rgba(168, 85, 111, 0.06);
}

[data-theme="dark"] .app-shell:has(.customer-panel) .page-header {
    background: rgba(45, 36, 48, 0.92);
    border-bottom-color: rgba(90, 53, 69, 0.6);
}

.app-shell:has(.customer-panel) .bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 28px rgba(168, 85, 111, 0.08);
}

[data-theme="dark"] .app-shell:has(.customer-panel) .bottom-nav {
    background: rgba(26, 14, 20, 0.96);
    border-top-color: rgba(90, 53, 69, 0.5);
}

.app-shell:has(.customer-panel) .bottom-nav-item.active {
    color: var(--accent);
}

.customer-bg-decor {
    position: fixed;
    inset: 0;
    max-width: 430px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.customer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.customer-orb-1 {
    width: 220px;
    height: 220px;
    background: var(--accent);
    top: 5%;
    right: -40px;
    opacity: 0.12;
}

.customer-orb-2 {
    width: 180px;
    height: 180px;
    background: var(--gold);
    bottom: 20%;
    left: -30px;
    opacity: 0.14;
}

.customer-orb-3 {
    width: 120px;
    height: 120px;
    background: #fff;
    top: 40%;
    left: 50%;
    opacity: 0.5;
}

[data-theme="dark"] .customer-orb-3 {
    opacity: 0.06;
}

.customer-panel {
    position: relative;
    z-index: 1;
    padding-bottom: 24px;
}

.customer-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(232, 213, 220, 0.9);
    box-shadow: 0 12px 36px rgba(168, 85, 111, 0.1);
    position: relative;
    overflow: hidden;
}

.customer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 111, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.customer-hero-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--accent-light), #fff);
    color: var(--accent);
    box-shadow: 0 6px 18px rgba(168, 85, 111, 0.2);
    position: relative;
    z-index: 1;
}

.customer-hero-text {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.customer-hero-greet {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 4px;
    line-height: 1.35;
}

.customer-hero-sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.customer-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.customer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(168, 85, 111, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.customer-action:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(168, 85, 111, 0.14);
}

.customer-action-primary {
    background: linear-gradient(145deg, #fff 0%, var(--accent-light) 100%);
    border-color: rgba(168, 85, 111, 0.25);
}

.customer-action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
}

.customer-action-primary .customer-action-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 16px var(--accent-glow);
}

.customer-action-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.customer-section {
    margin-bottom: 24px;
}

.customer-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 12px;
}

[data-theme="dark"] .customer-section-title {
    color: var(--gold-light);
}

.customer-info-card {
    margin-bottom: 0;
}

.customer-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text);
}

.customer-info-row:last-of-type {
    margin-bottom: 0;
}

.customer-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
}

.customer-info-desc {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.customer-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-portal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-portal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(168, 85, 111, 0.08);
    transition: transform 0.15s, box-shadow 0.15s;
}

.home-portal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(168, 85, 111, 0.12);
}

.home-portal-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    flex-shrink: 0;
}

.home-portal-icon-staff {
    background: rgba(212, 175, 114, 0.2);
    color: #9A6B2E;
}

.home-portal-info {
    flex: 1;
    min-width: 0;
}

.home-portal-title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-dark);
}

.home-portal-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.home-portal-arrow {
    color: var(--muted);
    flex-shrink: 0;
}

.booking-actions .inline-form {
    display: inline;
}

.booking-actions form.inline-form button {
    vertical-align: middle;
}

.customer-empty-hint {
    font-size: 0.85rem;
}

.customer-panel .empty-state {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius);
    border: 1px dashed rgba(168, 85, 111, 0.25);
    box-shadow: 0 8px 24px rgba(168, 85, 111, 0.06);
}

[data-theme="dark"] .customer-panel .empty-state {
    background: rgba(61, 36, 48, 0.85);
    border-color: rgba(168, 85, 111, 0.35);
}

.customer-panel .empty-state svg {
    color: var(--accent);
    opacity: 0.55;
    margin-bottom: 8px;
}

.customer-panel .card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(232, 213, 220, 0.9);
    box-shadow: 0 8px 28px rgba(168, 85, 111, 0.08);
}

[data-theme="dark"] .customer-panel .card {
    background: rgba(61, 36, 48, 0.92);
    border-color: rgba(90, 53, 69, 0.6);
}

.customer-profile-hero {
    margin-bottom: 24px;
}

.customer-panel .profile-logout .btn-danger {
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(184, 92, 92, 0.2);
}

/* Booking stepper */
.book-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(168, 85, 111, 0.06);
}

[data-theme="dark"] .book-stepper {
    background: rgba(61, 36, 48, 0.88);
}

.book-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 52px;
}

.book-step-dot {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-soft);
    color: var(--muted);
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.book-step-dot svg {
    display: block;
}

.book-step-active .book-step-dot {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.book-step-done .book-step-dot {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.book-step-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    line-height: 1.2;
    max-width: 56px;
}

.book-step-active .book-step-label {
    color: var(--accent-dark);
}

.book-step-done .book-step-label {
    color: var(--success);
}

.book-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-top: 14px;
    min-width: 12px;
    max-width: 28px;
    border-radius: 1px;
}

.book-step-line.done {
    background: var(--success);
}

.book-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.book-back-link:hover {
    text-decoration: underline;
}

.book-context-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.book-cal-hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
    margin: 12px 0 0;
}

/* Pick cards — customer booking */
.pick-card-form {
    margin-bottom: 10px;
}

.pick-card-form:last-child {
    margin-bottom: 0;
}

.pick-card-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    text-align: right;
    font-family: var(--font);
    box-shadow: 0 4px 16px rgba(168, 85, 111, 0.06);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.pick-card-btn:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(168, 85, 111, 0.12);
}

[data-theme="dark"] .pick-card-btn {
    background: rgba(61, 36, 48, 0.92);
}

.pick-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--accent-light), #fff);
    color: var(--accent);
}

.pick-card-icon-user {
    background: linear-gradient(145deg, var(--gold-light), #fff);
    color: var(--gold-dark);
}

.pick-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pick-card-arrow {
    flex-shrink: 0;
    color: var(--muted);
    opacity: 0.6;
}

.customer-panel .time-slots {
    gap: 10px;
}

.customer-panel .time-slot {
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 8px;
    transition: all 0.15s ease;
}

.customer-panel .time-slot:hover:not(.disabled) {
    border-color: var(--accent);
    background: var(--accent-light);
}

.customer-panel .booking-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(168, 85, 111, 0.08);
    margin-bottom: 0;
}

[data-theme="dark"] .customer-panel .booking-card {
    background: rgba(61, 36, 48, 0.92);
}

.customer-panel .booking-card-time {
    background: linear-gradient(180deg, var(--accent-light), #fff);
}

.customer-panel .booking-actions {
    padding-right: 0;
    align-items: center;
    flex-wrap: wrap;
}

.booking-pending-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
}

.customer-panel .jalali-calendar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 28px rgba(168, 85, 111, 0.08);
}

[data-theme="dark"] .customer-panel .jalali-calendar {
    background: rgba(61, 36, 48, 0.92);
}

@media (max-width: 360px) {
    .book-step-label { font-size: 0.58rem; max-width: 48px; }
    .book-step { min-width: 44px; }

    .jalali-calendar {
        padding: 12px 10px;
    }

    .cal-grid,
    .cal-weekdays {
        gap: 2px;
    }

    .cal-cell {
        border-radius: 8px;
        font-size: 0.75rem;
    }

    .cal-nav {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
}

/* ─── Admin Panel ─────────────────────────────────────────────── */
.app-shell:has(.admin-panel) {
    --bg: #FBF7F4;
    --bg-soft: #F5EBE3;
    --surface: #FFFFFF;
    --text: #2D2426;
    --muted: #8B7379;
    --border: #E8D5DC;
    --accent-light: #F3E8EC;
    --shadow: 0 4px 24px rgba(45, 36, 38, 0.06);
    background: linear-gradient(155deg, #1A1520 0%, #2A2035 45%, #352845 85%, #3D2E50 100%);
}

.app-shell:has(.admin-panel) .page-header {
    background: rgba(255, 252, 248, 0.06);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(155, 138, 184, 0.2);
}

.app-shell:has(.admin-panel) .page-title {
    color: #FFFCFA;
}

.app-shell:has(.admin-panel) .page-subtitle {
    color: rgba(255, 252, 248, 0.65);
}

.app-shell:has(.admin-panel) .page-header-logout-btn {
    background: rgba(255, 252, 248, 0.08);
    border-color: rgba(155, 138, 184, 0.3);
    color: rgba(255, 252, 248, 0.7);
}

.app-shell:has(.admin-panel) .page-header-logout-btn:hover {
    color: #ffb4b4;
    border-color: rgba(255, 120, 120, 0.4);
    background: rgba(255, 80, 80, 0.12);
}

.app-shell:has(.admin-panel) .bottom-nav {
    background: rgba(22, 18, 32, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(155, 138, 184, 0.25);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.app-shell:has(.admin-panel) .bottom-nav-item {
    color: rgba(255, 252, 248, 0.5);
}

.app-shell:has(.admin-panel) .bottom-nav-item.active {
    color: #C9B8E8;
}

.admin-panel .admin-orb-1 {
    background: #9B8AB8;
    opacity: 0.32;
}

.admin-panel .admin-orb-2 {
    background: #6B5B95;
    bottom: 18%;
    opacity: 0.28;
}

.admin-panel .admin-orb-3 {
    background: #E8E0F0;
    opacity: 0.07;
}

.admin-hero-badge {
    background: linear-gradient(145deg, #E8E0F0, #9B8AB8) !important;
    color: #2A2035 !important;
    box-shadow: 0 8px 20px rgba(107, 91, 149, 0.45) !important;
}

.admin-panel .manager-hero-eyebrow {
    color: #C9B8E8;
}

.admin-panel .dash-section-title {
    color: #E8E0F0;
}

.admin-panel .dash-section-title .text-muted {
    color: rgba(255, 252, 248, 0.55);
}

.admin-panel .btn-primary {
    background: linear-gradient(145deg, #E8E0F0 0%, #9B8AB8 42%, #6B5B95 100%);
    color: #1A1520;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 6px 0 rgba(74, 58, 108, 0.28),
        0 10px 28px rgba(107, 91, 149, 0.35);
}

.admin-panel .btn-primary:hover {
    filter: brightness(1.05);
}

.admin-panel .quick-action-icon {
    background: linear-gradient(145deg, #E8E0F0, #fff);
    color: #4A3A6C;
}

.admin-panel .quick-action:hover {
    border-color: #9B8AB8;
    box-shadow: 0 12px 28px rgba(107, 91, 149, 0.3);
}

.admin-notice-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 252, 248, 0.95);
    border: 1px solid rgba(196, 154, 74, 0.35);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.admin-notice-card svg {
    flex-shrink: 0;
    color: var(--warning);
}

.admin-notice-title {
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 2px;
    font-size: 0.92rem;
}

.admin-notice-desc {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.admin-salon-card {
    margin-bottom: 12px;
}

.admin-salon-link-row {
    margin-top: 12px;
    margin-bottom: 0;
}

.admin-sms-intro {
    margin-bottom: 20px;
}

.admin-profile-hero .profile-hero-avatar {
    background: linear-gradient(145deg, #E8E0F0, #9B8AB8);
    color: #2A2035;
}

.admin-profile-hero .profile-hero-role {
    color: #6B5B95;
}

.mb-2 { margin-bottom: 16px; }

.flex-center { align-items: center; }

.dash-section-count {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 252, 248, 0.55);
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 8px 0 12px;
    color: var(--accent-dark);
}

.manager-panel .form-section-title,
.admin-panel .form-section-title {
    color: var(--accent-dark);
}

.helper-text {
    font-size: 0.85rem;
    margin-top: 8px;
}

.helper-text-sm {
    font-size: 0.75rem;
    margin-top: 6px;
}

.manager-panel .empty-state .helper-text,
.admin-panel .empty-state .helper-text {
    color: var(--muted);
}

.manager-list-card {
    margin-bottom: 10px;
}

.manager-list-card:last-child {
    margin-bottom: 0;
}

/* ─── PWA Install Banner ────────────────────────────────────────── */
.pwa-install {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    z-index: 200;
    width: calc(100% - 32px);
    max-width: 398px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

body:has(.bottom-nav) .pwa-install {
    bottom: calc(var(--nav-height) + 12px);
}

.pwa-install-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-install-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255, 252, 248, 0.98);
    border: 1px solid rgba(212, 175, 114, 0.35);
    box-shadow:
        0 16px 48px rgba(45, 36, 38, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    backdrop-filter: blur(14px);
    position: relative;
}

.pwa-install-icon {
    flex-shrink: 0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(125, 63, 84, 0.25);
}

.pwa-install-body {
    flex: 1;
    min-width: 0;
}

.pwa-install-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 2px;
    line-height: 1.35;
}

.pwa-install-desc {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

.pwa-install-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px var(--accent-glow);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.pwa-install-btn:hover {
    filter: brightness(1.05);
    transform: scale(1.02);
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(45, 36, 38, 0.06);
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pwa-install-ios {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 252, 248, 0.95);
    border: 1px dashed rgba(168, 85, 111, 0.3);
    box-shadow: 0 8px 24px rgba(45, 36, 38, 0.1);
}

.pwa-install-ios-text {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
    text-align: center;
}

.pwa-install-ios-text strong {
    color: var(--accent-dark);
}

@media (display-mode: standalone) {
    .pwa-install { display: none !important; }
}

