@import "../vendor/bootstrap/dist/css/bootstrap.min-z0zQt-h.css";

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url("../fonts/plus-jakarta-sans-400-tDW4avw.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url("../fonts/plus-jakarta-sans-500-VfU7g6I.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url("../fonts/plus-jakarta-sans-600-KPedrvW.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url("../fonts/plus-jakarta-sans-700-VErgjQa.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url("../fonts/dm-sans-400-Bs9sP8w.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url("../fonts/dm-sans-500-ExTkl7s.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --bf-blue: #3b7fe8;
    --bf-blue-dark: #2563c8;
    --bf-blue-mid: #6da0ef;
    --bf-blue-light: #ebf2fd;
    --bf-text: #111827;
    --bf-muted: #6b7280;
    --bf-subtle: #9ca3af;
    --bf-surface: #f8f9fc;
    --bf-border: rgba(0, 0, 0, 0.08);
    --bf-border-md: rgba(0, 0, 0, 0.15);
    --bf-font-display: 'Plus Jakarta Sans', sans-serif;
    --bf-font-body: 'DM Sans', sans-serif;
    --bf-radius-sm: 8px;
    --bf-radius-md: 12px;
    --bf-radius-lg: 16px;
    --bf-radius-xl: 24px;
}

body {
    font-family: var(--bf-font-body);
    background: var(--bf-surface);
    color: var(--bf-text);
    font-size: 14px;
}

/* ── OVERRIDES BOOTSTRAP ── */
.btn { font-family: var(--bf-font-display); font-weight: 600; }
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: var(--bf-font-display); }

/* ── SECTION LABEL ── */
.bf-section-label {
    font-family: var(--bf-font-display);
    font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--bf-muted);
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--bf-border);
    margin-bottom: 1.25rem;
}

/* ── BRAND COLORS ── */
.btn-bf-primary { background: var(--bf-blue); color: #fff; border: none; border-radius: var(--bf-radius-md); }
.btn-bf-primary:hover { background: var(--bf-blue-dark); color: #fff; }
.btn-bf-soft { background: var(--bf-blue-light); color: var(--bf-blue-dark); border: none; border-radius: var(--bf-radius-md); }
.btn-bf-soft:hover { background: #d6e8fa; color: var(--bf-blue-dark); }
.btn-bf-outline { background: transparent; color: var(--bf-text); border: 1px solid var(--bf-border-md); border-radius: var(--bf-radius-md); }
.btn-bf-outline:hover { background: var(--bf-surface); }
.btn-bf-ghost { background: transparent; color: var(--bf-muted); border: none; border-radius: var(--bf-radius-md); }
.btn-bf-ghost:hover { background: var(--bf-surface); color: var(--bf-text); }

/* ── CARDS ── */
.card-bf {
    background: #fff;
    border: .5px solid var(--bf-border);
    border-radius: var(--bf-radius-lg);
}
.card-bf .card-body { padding: 1.25rem; }

/* ── BADGES ── */
.badge-bf-blue { background: var(--bf-blue-light); color: var(--bf-blue-dark); }
.badge-bf-green { background: #f0fdf4; color: #166534; }
.badge-bf-amber { background: #fffbeb; color: #92400e; }
.badge-bf-red { background: #fef2f2; color: #991b1b; }
.badge-bf-gray { background: #f3f4f6; color: #374151; }
.badge-bf { font-family: var(--bf-font-display); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }

/* ── FORM ── */
.form-control, .form-select {
    font-family: var(--bf-font-body);
    border: 1px solid var(--bf-border-md);
    border-radius: var(--bf-radius-sm);
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--bf-blue);
    box-shadow: 0 0 0 3px rgba(59, 127, 232, .12);
}
.form-label { font-family: var(--bf-font-display); font-size: 12px; font-weight: 600; }

/* ── TABLE ── */
.table-bf thead th {
    font-family: var(--bf-font-display);
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--bf-muted); border-bottom: .5px solid var(--bf-border);
}
.table-bf td { font-size: 13px; border-color: var(--bf-border); vertical-align: middle; }
.table-bf tbody tr:hover { background: var(--bf-surface); }

/* ── STAT CARD ── */
.stat-card {
    background: #fff;
    border: .5px solid var(--bf-border);
    border-radius: var(--bf-radius-md);
    padding: 1rem;
}
.stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--bf-muted); }
.stat-value { font-family: var(--bf-font-display); font-size: 28px; font-weight: 700; line-height: 1; color: var(--bf-text); }

/* ── APPOINTMENT CARD ── */
.appt-card { background: #fff; border: .5px solid var(--bf-border); border-radius: var(--bf-radius-lg); padding: 1rem 1.25rem; }
.appt-date {
    background: var(--bf-blue-light); border-radius: var(--bf-radius-md);
    width: 48px; height: 52px; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.appt-day { font-family: var(--bf-font-display); font-size: 20px; font-weight: 700; color: var(--bf-blue); line-height: 1; }
.appt-mon { font-size: 10px; font-weight: 600; color: var(--bf-blue-mid); text-transform: uppercase; letter-spacing: .05em; }

/* ── STORE CARD ── */
.store-img {
    height: 110px; background: var(--bf-blue-light);
    display: flex; align-items: center; justify-content: center; font-size: 32px;
}

/* ── COLOR SWATCH ── */
.swatch { height: 44px; border-radius: var(--bf-radius-sm) var(--bf-radius-sm) 0 0; }
.swatch-label { font-size: 10px; padding: 5px 8px; border: .5px solid var(--bf-border); border-top: none; border-radius: 0 0 var(--bf-radius-sm) var(--bf-radius-sm); }
.swatch-label strong { display: block; font-size: 11px; color: var(--bf-text); }

/* ── ALERT ── */
.alert-bf {
    border-radius: var(--bf-radius-md); font-size: 13px;
    border: none; border-left: 3px solid;
    display: flex; gap: 10px; align-items: flex-start;
}
.alert-bf-info { background: var(--bf-blue-light); color: #1e40af; border-color: var(--bf-blue); }
.alert-bf-success { background: #f0fdf4; color: #166534; border-color: #16a34a; }
.alert-bf-warning { background: #fffbeb; color: #92400e; border-color: #d97706; }
.alert-bf-danger { background: #fef2f2; color: #991b1b; border-color: #dc2626; }

/* ────────────────────────────────
   NAVBAR DESKTOP
──────────────────────────────── */
.bf-navbar {
    background: #fff;
    border: .5px solid var(--bf-border);
    border-radius: var(--bf-radius-lg);
    padding: 10px 20px;
}
.bf-navbar .navbar-brand {
    font-size: 17px; font-weight: 700; color: var(--bf-blue);
    display: flex; align-items: center; gap: 7px;
}
.brand-logo {
    width: 28px; height: 28px; background: var(--bf-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bf-search-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--bf-surface);
    border: 1px solid var(--bf-border);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px; color: var(--bf-muted);
    cursor: pointer; flex: 1; max-width: 340px;
}

/* ────────────────────────────────
   NAVBAR MOBILE — PHONE FRAME
──────────────────────────────── */
.phone-frame {
    width: 300px;
    background: #1c1c1e;
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.phone-screen {
    background: var(--bf-surface);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    min-height: 560px;
    display: flex; flex-direction: column;
}

/* mobile top bar */
.m-topbar {
    background: #fff;
    padding: 12px 14px 10px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: .5px solid var(--bf-border);
    flex-shrink: 0;
}
.m-brand { font-family: var(--bf-font-display); font-size: 16px; font-weight: 700; color: var(--bf-blue); display: flex; align-items: center; gap: 6px; }
.m-topbar-right { display: flex; align-items: center; gap: 6px; }
.m-btn-login { font-family: var(--bf-font-display); font-size: 12px; font-weight: 600; background: var(--bf-blue); color: #fff; border: none; padding: 6px 13px; border-radius: 100px; cursor: pointer; }
.m-btn-menu { width: 32px; height: 32px; border-radius: 50%; background: var(--bf-surface); border: .5px solid var(--bf-border); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* mobile hero */
.m-hero { background: linear-gradient(150deg, #1a3a6b, #2563c8 60%, #3b7fe8); padding: 18px 14px 20px; flex-shrink: 0; }
.m-hero-title { font-family: var(--bf-font-display); font-size: 17px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.m-hero-sub { font-size: 12px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.m-search { background: #fff; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bf-muted); }

/* mobile cats */
.m-cats { padding: 14px 14px 4px; flex-shrink: 0; background: #fff; }
.m-cats-title { font-family: var(--bf-font-display); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.m-cat-icon { width: 48px; height: 48px; background: var(--bf-blue-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 4px; }
.m-cat-label { font-size: 10px; font-weight: 500; text-align: center; }

/* mobile content */
.m-content { flex: 1; padding: 10px 14px 70px; background: var(--bf-surface); }
.m-content-title { font-family: var(--bf-font-display); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.m-store { background: #fff; border: .5px solid var(--bf-border); border-radius: 12px; padding: 10px; display: flex; gap: 10px; margin-bottom: 8px; }
.m-store-img { width: 54px; height: 54px; border-radius: 10px; background: var(--bf-blue-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.m-store-name { font-family: var(--bf-font-display); font-size: 12px; font-weight: 600; }
.m-store-meta { font-size: 11px; color: var(--bf-muted); margin-top: 1px; }
.m-tag { display: inline-block; font-size: 10px; font-weight: 600; background: var(--bf-blue-light); color: var(--bf-blue-dark); padding: 2px 7px; border-radius: 100px; margin-top: 4px; }

/* bottom nav */
.m-bottomnav {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: .5px solid var(--bf-border);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 0 10px;
}
.m-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; padding: 4px 0; }
.m-nav-lbl { font-size: 9px; font-weight: 600; color: var(--bf-muted); }
.m-nav-item.active .m-nav-lbl { color: var(--bf-blue); }
.m-nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--bf-blue); margin-top: 1px; }

/* ── DRAWER ── */
.m-drawer-screen { background: #fff; border-radius: 30px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.m-drawer-header { padding: 16px 14px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: .5px solid var(--bf-border); }
.m-drawer-close { width: 28px; height: 28px; border-radius: 50%; background: var(--bf-surface); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--bf-muted); }
.m-drawer-sec { padding: 10px 14px; border-bottom: .5px solid var(--bf-border); }
.m-drawer-sec-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bf-muted); margin-bottom: 2px; }
.m-drawer-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: .5px solid var(--bf-border); font-size: 14px; cursor: pointer; }
.m-drawer-row:last-child { border-bottom: none; }
.m-drawer-row-primary { color: var(--bf-blue); font-weight: 600; }
.m-drawer-cta { margin: 14px; background: var(--bf-blue); color: #fff; border: none; padding: 13px; border-radius: 13px; font-family: var(--bf-font-display); font-size: 13px; font-weight: 700; width: calc(100% - 28px); cursor: pointer; text-align: center; }
.m-drawer-biz { margin: 0 14px 16px; padding: 13px 14px; background: var(--bf-surface); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.m-drawer-biz-label { font-family: var(--bf-font-display); font-size: 13px; font-weight: 600; }

/* spacing */
.section { margin-bottom: 3rem; }
[data-loading="show"] {
    display: flex !important;
}
