/*
  Vitrine design system — a modern ERP layer on top of Fluent UI Blazor.

  Direction: "vitrine digital" (digital shop window). The product is an ERP-style back office
  for sellers, so the app chrome is a dark ink sidebar + light data surfaces, with an indigo
  primary and a sparing amber "spotlight" accent (the light that showcases products in a vitrine).
  Type is a geometric grotesk (Plus Jakarta Sans) for UI with IBM Plex Mono reserved for numbers,
  KPI values, and eyebrow labels — the mono reads as "dashboard/ledger" and keeps figures aligned.

  This file only adds what Fluent doesn't: brand tokens, the ERP shell (sidebar/topbar/content),
  card/KPI/quicklink primitives, the public marketing surfaces, and the plain-HTML login form
  (see Login.razor for why it can't be a Fluent/interactive component).

  Class prefix is `v-` (Vitrine). Fonts are loaded in App.razor.
*/

:root {
    /* Brand — Forest #0A5C40 · Leaf #1DBF6E · Mist #F8F5ED · Ink #121C17 */
    --v-primary: #0A5C40;
    --v-primary-600: #084C35;
    --v-primary-700: #063D2B;
    --v-primary-050: #EAF8F1;
    --v-primary-100: #D6F5E4;
    --v-leaf: #1DBF6E;
    --v-leaf-soft: #E5F8ED;
    --v-amber: #D98A1E;
    --v-amber-050: #FFF6E5;
    --v-amber-100: #FDE8BF;

    /* Ink (dark chrome — sidebar) */
    --v-ink-950: #0D1612;
    --v-ink-900: #121C17;
    --v-ink-800: #18261F;
    --v-ink-line: #23352C;

    /* Neutrals (warm mist surfaces) */
    --v-surface: #F8F5ED;
    --v-surface-2: #F1EEE5;
    --v-panel: #FFFFFF;
    --v-panel-soft: #F1EEE5;
    --v-ink: #121C17;
    --v-text: #121C17;
    --v-muted: #5B6B62;
    /* faint precisa de >=4.5:1 também sobre --v-panel-soft (rodapés) — ver auditoria WCAG */
    --v-faint: #5F6E65;
    --v-line: #E2DDCF;
    --v-line-strong: #C8C1B0;

    /* Status */
    --v-ok: #0A5C40;
    --v-ok-050: #E5F8ED;
    --v-danger: #C63339;
    --v-danger-050: #FDECEE;
    --v-warn: #B97916;
    --v-warn-050: #FBF2DF;
    /* variante do warn escura o bastante para texto pequeno sobre panel/warn-050 */
    --v-warn-text: #8A5A0B;
    --v-info: #0369A1;
    --v-info-050: #E0F2FE;
    --v-violet: #6D28D9;
    --v-violet-050: #EDE9FE;

    /* Shape & depth */
    --v-radius: 16px;
    --v-radius-md: 13px;
    --v-radius-sm: 10px;
    --v-radius-xs: 7px;
    --v-shadow-xs: 0 1px 2px rgba(18, 28, 23, .05);
    --v-shadow-sm: 0 1px 2px rgba(18, 28, 23, .03), 0 4px 14px rgba(18, 28, 23, .05);
    --v-shadow-md: 0 8px 28px rgba(18, 28, 23, .08), 0 2px 8px rgba(18, 28, 23, .04);
    --v-focus: 0 0 0 3px rgba(10, 92, 64, .45);

    /* Scrollbars/controles nativos acompanham o tema (trocado no bloco dark) */
    color-scheme: light;

    /* Spacing */
    --v-1: 0.5rem;
    --v-2: 1rem;
    --v-3: 1.5rem;
    --v-4: 2.5rem;

    /* Type */
    --v-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --v-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;

    /* Motion (GPU-safe: transform/opacity only) */
    --v-ease: cubic-bezier(.32, .72, 0, 1);
    --v-dur: 280ms;
    --v-dur-fast: 180ms;

    /* Best-effort override for Fluent 2 web-component tokens (inherit through shadow DOM) */
    --body-font: var(--v-font);
}

html {
    /* overscroll acompanha o fundo da página (não fica branco no tema escuro) */
    background: var(--v-surface);
}

body {
    font-family: var(--v-font);
    color: var(--v-text);
    background: var(--v-surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: color-mix(in srgb, var(--v-primary) 22%, transparent);
}

::selection {
    color: #FFFFFF;
    background: var(--v-primary);
}

:focus-visible {
    /* indicador sólido >=3:1 nos dois temas (WCAG 1.4.11 / 2.4.7) */
    outline: 2px solid var(--v-primary);
    outline-offset: 2px;
}

:focus,
:target {
    scroll-margin-top: 80px;
    scroll-margin-bottom: 24px;
}

h1, h2, h3,
.v-page-header h1,
.v-hero h1,
.v-section-head h2 {
    text-wrap: balance;
}

a, button, [role="button"],
input[type="button"],
input[type="submit"],
input[type="checkbox"],
input[type="radio"] {
    touch-action: manipulation;
}

.v-skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 10000;
    padding: 0.55rem 0.9rem;
    background: var(--v-primary);
    color: #FFFFFF;
    border-radius: var(--v-radius-xs);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transform: translateY(-180%);
}

.v-skip-link:focus,
.v-skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.v-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

fluent-card,
fluent-button,
fluent-anchor,
fluent-label,
fluent-breadcrumb,
fluent-menu,
fluent-menu-item,
fluent-tooltip,
fluent-accordion,
fluent-accordion-item,
fluent-message-bar,
fluent-divider,
fluent-dialog {
    --accent-fill-rest: var(--v-primary);
    --accent-fill-hover: var(--v-primary-600);
    --accent-fill-active: var(--v-primary-700);
    --neutral-fill-rest: var(--v-panel);
    --neutral-fill-hover: var(--v-primary-050);
    --neutral-fill-active: var(--v-primary-100);
    --neutral-foreground-rest: var(--v-text);
    --neutral-foreground-hint: var(--v-muted);
    --neutral-stroke-rest: var(--v-line);
    --neutral-layer-card-container: var(--v-panel);
}

fluent-tooltip {
    --neutral-fill-rest: var(--v-ink-900);
    --neutral-foreground-rest: #E8ECF4;
}

fluent-divider {
    --neutral-stroke-rest: var(--v-line);
}

fluent-dialog {
    --neutral-layer-1: var(--v-panel);
    border-radius: calc(var(--v-radius) + 2px);
    overscroll-behavior: contain;
}

.v-eyebrow {
    display: inline-block;
    font-family: var(--v-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v-primary);
    margin-bottom: var(--v-1);
}

/* ======================================================================
   ERP shell (AnuncianteLayout / AdminLayout)
   ====================================================================== */

.v-shell {
    display: flex;
    min-height: 100vh;
    background: var(--v-surface);
}

.v-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--v-ink-950);
    color: #C4CBDA;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    overscroll-behavior: contain;
}

.v-sidebar-brand {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 var(--v-3);
    color: #FFFFFF;
    border-bottom: 1px solid var(--v-ink-line);
}

.v-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--v-2) 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-nav-section {
    font-family: var(--v-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    /* literal: a sidebar é ink-dark nos dois temas, não pode seguir --v-faint */
    color: #8A9891;
    padding: var(--v-2) 0.75rem 0.35rem;
}

.v-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--v-radius-sm);
    color: #AEB6C6;
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    position: relative;
    transition: background var(--v-dur) var(--v-ease),
                color var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

.v-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transform: translateX(2px);
}

.v-nav-link.active {
    background: color-mix(in srgb, var(--v-primary) 22%, transparent);
    color: #FFFFFF;
}

.v-nav-link.active::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    border-radius: 0 3px 3px 0;
    background: var(--v-primary);
}

.v-nav-ico {
    display: inline-flex;
    width: 20px;
    color: currentColor;
}

.v-nav-ico svg {
    width: 20px;
    height: 20px;
}

.v-sidebar-foot {
    border-top: 1px solid var(--v-ink-line);
    padding: 0.75rem;
}

/* Sidebar user chip (SidebarUser.razor) */
.v-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v-user-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--v-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.v-user-meta {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}

.v-user-name {
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-user-role {
    font-family: var(--v-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    /* literal: mesma razão do .v-nav-section (sidebar sempre escura) */
    color: #8A9891;
}

.v-logout {
    font: inherit;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--v-ink-line);
    color: #AEB6C6;
    border-radius: var(--v-radius-sm);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
}

.v-logout:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

.v-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.v-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Hambúrguer do drawer mobile — invisível no desktop */
.v-nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    color: var(--v-text);
    cursor: pointer;
}

/* Scrim atrás do drawer — só existe no mobile com o menu aberto */
.v-scrim {
    display: none;
}

.v-topbar {
    height: 60px;
    background: color-mix(in srgb, var(--v-panel) 88%, transparent);
    -webkit-backdrop-filter: blur(10px) saturate(1.3);
    backdrop-filter: blur(10px) saturate(1.3);
    border-bottom: 1px solid var(--v-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v-2);
    padding: 0 max(clamp(1.25rem, 2.5vw, 2.5rem), env(safe-area-inset-right)) 0 max(clamp(1.25rem, 2.5vw, 2.5rem), env(safe-area-inset-left));
    position: sticky;
    top: 0;
    z-index: 10;
}

.v-topbar-title {
    font-weight: 700;
    font-size: 1.02rem;
}

.v-topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--v-2);
}

.v-topbar-link {
    color: var(--v-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.v-topbar-link:hover {
    color: var(--v-primary);
}

.v-content {
    flex: 1;
    padding: clamp(1.25rem, 2.5vw, 2.5rem);
    max-width: 1240px;
    width: 100%;
}

/* ======================================================================
   Page primitives (used inside .v-content and on public pages)
   ====================================================================== */

.v-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--v-2);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    min-height: 72px;
    flex-wrap: wrap;
}

.v-page-header h1 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.v-page-header p {
    margin: 0.25rem 0 0;
    color: var(--v-muted);
    max-width: 62ch;
    line-height: 1.55;
}

.v-card {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow-sm);
    padding: var(--v-3);
}

/* ======================================================================
   Double-Bezel — elevated card pattern: a soft outer shell (weak border,
   wider radius, padding gap) around a brighter inner core (surface +
   internal highlight, concentric radius).
   ====================================================================== */

.v-card-shell {
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: calc(var(--v-radius) + 6px);
    box-shadow: var(--v-shadow-sm);
    padding: 6px;
    transition: box-shadow var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-card-core {
    height: 100%;
    background: var(--v-panel);
    border: 1px solid color-mix(in srgb, var(--v-line) 55%, transparent);
    border-radius: var(--v-radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.v-card-shell:hover {
    border-color: var(--v-line-strong);
    box-shadow: var(--v-shadow-md);
    transform: translateY(-2px);
}

:root[data-theme="dark"] .v-card-core {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* KPI cards */
.v-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--v-2);
    margin-bottom: var(--v-3);
}

.v-kpi {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .55);
    padding: var(--v-2) var(--v-3);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: box-shadow var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

.v-kpi:hover {
    box-shadow: var(--v-shadow-md), inset 0 1px 0 rgba(255, 255, 255, .55);
    transform: translateY(-2px);
}

:root[data-theme="dark"] .v-kpi,
:root[data-theme="dark"] .v-kpi:hover {
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.v-kpi-label {
    font-family: var(--v-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v-muted);
}

.v-kpi-value {
    font-family: var(--v-mono);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--v-text);
    font-variant-numeric: tabular-nums;
}

.v-kpi-value.v-accent {
    color: var(--v-primary);
}

/* Quicklink cards (dashboards) — grade uniforme: 3 col desktop, 2 tablet, 1 mobile */
.v-quicklink-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--v-2);
}

@media (max-width: 1024px) {
    .v-quicklink-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .v-quicklink-grid {
        grid-template-columns: 1fr;
    }
}

.v-quicklink {
    display: flex;
    align-items: center;
    gap: var(--v-2);
    padding: var(--v-2) var(--v-3);
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .55);
    color: inherit;
    text-decoration: none;
    transition: box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

:root[data-theme="dark"] .v-quicklink {
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.v-quicklink:hover {
    box-shadow: var(--v-shadow-md);
    border-color: var(--v-primary-100);
    transform: translateY(-3px);
}

.v-quicklink-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--v-radius-sm);
    background: var(--v-primary-050);
    color: var(--v-primary);
}

.v-quicklink-title {
    display: block;
    font-weight: 600;
}

.v-quicklink-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--v-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-quicklink {
    height: 100%;
}

/* dashboard KPI secondary caption + action alerts */
.v-kpi-sub {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--v-muted);
}

.v-alert-strip {
    display: flex;
    flex-direction: column;
    gap: var(--v-1);
    margin: 1rem 0 0.25rem;
}

.v-alert-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: var(--v-amber-050, #fef6e7);
    border: 1px solid var(--v-amber-100, #fbe2b3);
    border-radius: var(--v-radius-sm);
    color: var(--v-text) !important;
    text-decoration: none;
    transition: border-color var(--v-dur) var(--v-ease),
                background var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

.v-alert-item span {
    flex: 1;
    min-width: 0;
}

.v-alert-item:hover {
    border-color: var(--v-amber, #e0a800);
    transform: translateX(3px);
}

/* Empty state (EmptyState.razor) */
.v-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--v-1);
    padding: var(--v-4) var(--v-2);
    background: var(--v-panel);
    border: 1px dashed var(--v-line);
    border-radius: var(--v-radius);
}

.v-empty-ico {
    color: var(--v-primary);
    opacity: 0.85;
    margin-bottom: var(--v-1);
}

.v-empty-ico svg {
    width: 40px;
    height: 40px;
}

.v-empty p {
    color: var(--v-muted);
    margin: 0 0 var(--v-1);
    max-width: 420px;
}

.v-empty-shell {
    margin-top: 0.25rem;
}

.v-empty-shell:hover {
    transform: none;
    box-shadow: var(--v-shadow-sm);
    border-color: var(--v-line);
}

.v-empty-card {
    border-radius: var(--v-radius);
    border: 1px dashed var(--v-line-strong);
    background: linear-gradient(145deg, var(--v-panel), var(--v-panel-soft));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

:root[data-theme="dark"] .v-empty-card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.v-crud-panel {
    padding: var(--v-2) var(--v-3) !important;
}

/* Product form dialog — wide two-column layout */
.v-item-form-body {
    max-height: min(72vh, 720px);
    overflow: auto;
    padding-top: 0.25rem !important;
    overscroll-behavior: contain;
}

.v-item-form-grid {
    align-items: stretch;
}

.v-item-form-fields {
    min-width: 0;
}

.v-item-media-panel {
    height: 100%;
    padding: 0.9rem !important;
    background:
        radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--v-primary, #4C5AE0) 8%, transparent), transparent 55%),
        var(--neutral-layer-1, #fff) !important;
    border: 1px solid color-mix(in srgb, var(--v-primary, #4C5AE0) 18%, transparent) !important;
}

/* Product image picker */
.v-img-picker {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.v-img-picker-head {
    width: 100%;
}

.v-img-hint {
    font-size: 0.78rem !important;
    opacity: 0.72;
    line-height: 1.3;
}

.v-img-stage {
    width: 100%;
}

.v-img-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--v-surface-2, #f1f5f9);
    border: 1px solid color-mix(in srgb, var(--v-ink, #0f172a) 8%, transparent);
    box-shadow: var(--v-shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.06));
}

.v-img-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v-img-cover-badge {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #0f172a 70%, transparent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.v-img-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.v-img-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--v-surface-2, #f1f5f9);
    border: 1px solid color-mix(in srgb, var(--v-ink, #0f172a) 10%, transparent);
}

.v-img-thumb.is-cover {
    outline: 2px solid var(--v-primary, #4C5AE0);
    outline-offset: 1px;
}

.v-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v-img-thumb-tag {
    position: absolute;
    left: 0.3rem;
    bottom: 0.3rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, #0f172a 65%, transparent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    display: grid;
    place-items: center;
}

.v-img-thumb--empty {
    display: grid;
    place-items: center;
    border-style: dashed;
    opacity: 0.55;
}

.v-img-tile .v-img-remove,
.v-img-cover .v-img-remove,
.v-img-tile fluent-button.v-img-remove,
.v-img-cover fluent-button.v-img-remove {
    position: absolute !important;
    top: 0.4rem;
    right: 0.4rem;
    background: color-mix(in srgb, #0f172a 55%, transparent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    min-width: 28px !important;
    height: 28px !important;
}

.v-img-thumb-remove,
.v-img-thumb fluent-button.v-img-thumb-remove {
    position: absolute !important;
    top: 0.15rem;
    right: 0.15rem;
    background: color-mix(in srgb, #0f172a 55%, transparent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    min-width: 22px !important;
    height: 22px !important;
}

.v-img-drop {
    border-radius: 12px !important;
    border: 1.5px dashed color-mix(in srgb, var(--v-primary, #4C5AE0) 45%, transparent) !important;
    background:
        radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--v-primary, #4C5AE0) 12%, transparent), transparent 60%),
        var(--v-surface, #fff) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.v-img-drop--cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px !important;
}

.v-img-drop--thumb {
    aspect-ratio: 1;
    min-height: 0;
}

@media (hover: hover) and (pointer: fine) {
    .v-img-drop:hover {
        border-color: var(--v-primary, #4C5AE0) !important;
    }
}

@media (max-width: 768px) {
    .v-item-form-body {
        max-height: min(78vh, 820px);
    }

    .v-item-media-panel {
        margin-top: 0.25rem;
    }
}

.v-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    background: var(--v-surface-2, #f1f5f9);
    border: 1px solid color-mix(in srgb, var(--v-ink, #0f172a) 8%, transparent);
}

.v-item-thumb--empty {
    display: grid;
    place-items: center;
}

.v-kpi-fluent {
    padding: var(--v-2) var(--v-3) !important;
    min-height: 96px;
    height: 100%;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--v-primary) 5%, var(--v-panel)), var(--v-panel));
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: box-shadow var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

@media (hover: hover) and (pointer: fine) {
    .v-kpi-fluent:hover {
        box-shadow: var(--v-shadow-md), inset 0 1px 0 rgba(255, 255, 255, .55);
        transform: translateY(-2px);
    }
}

:root[data-theme="dark"] .v-kpi-fluent,
:root[data-theme="dark"] .v-kpi-fluent:hover {
    box-shadow: var(--v-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.v-kpi-fluent .v-kpi-value {
    display: block;
    margin-top: 0.35rem;
}

.v-quick-fluent-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.v-quick-fluent {
    height: 100%;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .v-quick-fluent:hover {
        transform: translateY(-4px);
        box-shadow: var(--v-shadow-md);
        border-color: var(--v-primary-100);
    }
}

.v-feature-fluent,
.v-step-fluent {
    height: 100%;
    padding: var(--v-3) !important;
}

.v-page-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.v-logout-form {
    margin: 0;
}

.v-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    justify-content: space-between;
}

/* ======================================================================
   Schedule / agenda (Anunciante) — Fluent-first surfaces
   ====================================================================== */

.v-sched-hero {
    align-items: flex-start;
}

.v-sched-hero h1 {
    margin-top: 0.35rem;
}

.v-sched-stat {
    min-width: 104px;
    padding: 0.65rem 0.9rem !important;
}

.v-sched-stat--accent .v-sched-stat-num {
    color: var(--v-primary);
}

.v-sched-stat-num {
    font-family: var(--v-mono);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
}

.v-sched-panel {
    padding: var(--v-2) var(--v-3) !important;
    height: 100%;
}

/* Barra de filtro/ordenação das páginas de lista (Agendas etc.) — div em fluxo normal,
   nunca um FluentCard solto (fluent-card default height:100% estica pelo .v-content). */
.v-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--v-2);
    padding: var(--v-1) var(--v-2);
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow-sm);
    margin-bottom: var(--v-3);
}

.v-filter-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.v-filter-label {
    font-size: 0.8rem;
    color: var(--v-muted);
    white-space: nowrap;
}

.v-filter-count {
    font-family: var(--v-mono);
    font-size: 0.78rem;
    color: var(--v-muted);
    white-space: nowrap;
}

.v-fluent-cal {
    width: 100%;
}

.v-cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    gap: 0.2rem;
    line-height: 1;
}

.v-cal-day.has-appt > span {
    font-weight: 700;
    color: var(--v-primary);
}

.v-cal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--v-amber);
    display: block;
}

.v-appt-list {
    max-width: 100%;
}

.v-appt-card {
    border-left: 3px solid var(--v-line) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.v-appt-card.status-pendente { border-left-color: var(--v-warn) !important; }
.v-appt-card.status-confirmado { border-left-color: var(--v-primary) !important; }
.v-appt-card.status-finalizado { border-left-color: var(--v-ok) !important; }
.v-appt-card.status-cancelado { border-left-color: var(--v-faint) !important; opacity: 0.88; }

@media (hover: hover) and (pointer: fine) {
    .v-appt-card:hover,
    .v-service-fluent:hover {
        transform: translateY(-2px);
        box-shadow: var(--v-shadow-md);
    }
}

.v-appt-hour {
    font-family: var(--v-mono) !important;
    color: var(--v-primary);
}

.v-service-fluent {
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.v-slot-form-card {
    margin-top: 0.25rem;
}

.v-reveal {
    animation: v-reveal-up .45s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: calc(var(--v-reveal-i, 0) * 45ms);
}

.v-reveal-delay {
    animation-delay: 80ms;
}

@keyframes v-reveal-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .v-reveal,
    .v-reveal-delay,
    .v-appt-card,
    .v-service-fluent {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* legacy schedule helpers kept for dialog week chips if reused */
.v-schedule-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: var(--v-4) var(--v-2);
    text-align: center;
    color: var(--v-muted);
}

/* ======================================================================
   Brand mark (BrandMark.razor)
   ====================================================================== */

.v-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: inherit;
}

.v-brand-word {
    font-family: var(--v-font);
    font-weight: 800;
    font-size: 1.16rem;
    letter-spacing: -0.01em;
}

.v-area-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.v-area-label {
    color: var(--v-muted);
    font-size: 0.9rem;
    border-left: 1px solid var(--v-line);
    padding-left: 0.6rem;
}

/* ======================================================================
   Public header & Navigation (MainLayout / AreaUserMenu)
   ====================================================================== */

.v-public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--v-panel) 85%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid var(--v-line);
    padding-top: env(safe-area-inset-top);
    transition: background-color var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease);
}

.v-public-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 68px;
    padding: 0 max(var(--v-3), env(safe-area-inset-right)) 0 max(var(--v-3), env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--v-2);
}

.v-brand-area {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.v-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    transition: transform var(--v-dur-fast) var(--v-ease), opacity var(--v-dur-fast) var(--v-ease);
}

.v-brand-link:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.v-header-tag {
    display: inline-block;
    font-family: var(--v-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--v-primary-050);
    color: var(--v-primary);
    border: 1px solid color-mix(in srgb, var(--v-primary) 18%, transparent);
}

/* Central navigation bar */
.v-nav-pub {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: color-mix(in srgb, var(--v-surface) 60%, transparent);
    padding: 0.25rem 0.35rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v-line) 60%, transparent);
}

.v-nav-pub-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--v-muted);
    text-decoration: none;
    transition: color var(--v-dur-fast) var(--v-ease),
                background-color var(--v-dur-fast) var(--v-ease),
                box-shadow var(--v-dur-fast) var(--v-ease);
}

.v-nav-pub-link:hover {
    color: var(--v-text);
    background: var(--v-panel);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.v-nav-pub-link.active {
    color: var(--v-primary);
    font-weight: 600;
    background: var(--v-panel);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

/* Actions Hub on the Right */
.v-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v-header-divider {
    width: 1px;
    height: 22px;
    background: var(--v-line);
    margin: 0 0.15rem;
}

/* Buttons in Public Header */
.v-header-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--v-text);
    text-decoration: none;
    border: 1px solid transparent;
    transition: color var(--v-dur-fast) var(--v-ease),
                background-color var(--v-dur-fast) var(--v-ease),
                border-color var(--v-dur-fast) var(--v-ease);
}

.v-header-btn-ghost:hover {
    background: var(--v-primary-050);
    color: var(--v-primary);
    border-color: color-mix(in srgb, var(--v-primary) 15%, transparent);
}

.v-header-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.89rem;
    font-weight: 600;
    color: #FFFFFF !important;
    background: var(--v-primary);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(10, 92, 64, 0.25);
    transition: background-color var(--v-dur-fast) var(--v-ease),
                box-shadow var(--v-dur-fast) var(--v-ease),
                transform var(--v-dur-fast) var(--v-ease);
}

.v-header-btn-primary:hover {
    background: var(--v-primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(10, 92, 64, 0.35);
    color: #FFFFFF !important;
}

.v-header-btn-primary:active {
    transform: translateY(0);
}

/* Authenticated User Area in Header */
.v-header-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.v-header-btn-panel {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--v-primary) !important;
    background: var(--v-primary-050);
    border: 1px solid color-mix(in srgb, var(--v-primary) 25%, transparent);
    text-decoration: none;
    transition: background-color var(--v-dur-fast) var(--v-ease),
                border-color var(--v-dur-fast) var(--v-ease),
                box-shadow var(--v-dur-fast) var(--v-ease),
                transform var(--v-dur-fast) var(--v-ease);
}

.v-header-btn-panel:hover {
    background: var(--v-primary-100);
    border-color: var(--v-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(10, 92, 64, 0.15);
}

.v-header-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.65rem 0.28rem 0.35rem;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: 999px;
}

.v-header-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--v-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--v-mono);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.v-header-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--v-text);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v-header-role-badge {
    font-family: var(--v-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.v-header-role-badge--anunciante {
    background: var(--v-leaf-soft);
    color: var(--v-ok);
    border: 1px solid color-mix(in srgb, var(--v-ok) 20%, transparent);
}

.v-header-role-badge--admin {
    background: var(--v-violet-050);
    color: var(--v-violet);
    border: 1px solid color-mix(in srgb, var(--v-violet) 25%, transparent);
}

.v-header-role-badge--cliente {
    background: var(--v-primary-050);
    color: var(--v-primary);
    border: 1px solid color-mix(in srgb, var(--v-primary) 20%, transparent);
}

.v-header-btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--v-line);
    color: var(--v-muted);
    font-family: var(--v-font);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--v-dur-fast) var(--v-ease),
                background-color var(--v-dur-fast) var(--v-ease),
                border-color var(--v-dur-fast) var(--v-ease);
}

.v-header-btn-logout:hover {
    background: var(--v-danger-050);
    color: var(--v-danger);
    border-color: color-mix(in srgb, var(--v-danger) 30%, transparent);
}

/* Mobile Navigation Hamburger */
.v-header-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--v-line);
    color: var(--v-text);
    cursor: pointer;
    transition: background-color var(--v-dur-fast) var(--v-ease),
                color var(--v-dur-fast) var(--v-ease),
                border-color var(--v-dur-fast) var(--v-ease);
}

.v-header-burger:hover {
    background: var(--v-panel-soft);
    color: var(--v-primary);
}

.v-header-burger:focus-visible {
    outline: 2px solid var(--v-primary);
    outline-offset: 2px;
}

/* Mobile Dropdown Drawer */
.v-header-mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--v-panel);
    border-bottom: 1px solid var(--v-line);
    box-shadow: var(--v-shadow-md);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    transform-origin: top;
    animation: v-drawer-slide 200ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    overscroll-behavior: contain;
}

.v-header-mobile-drawer.open {
    display: flex;
}

.v-header-scrim {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 22, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 45;
}

.v-header-scrim.open {
    display: block;
}

@keyframes v-drawer-slide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v-header-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.v-header-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--v-radius-sm);
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--v-text);
    text-decoration: none;
    transition: background-color var(--v-dur-fast) var(--v-ease);
}

.v-header-mobile-link:hover,
.v-header-mobile-link.active {
    background: var(--v-primary-050);
    color: var(--v-primary);
    font-weight: 600;
}

.v-header-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--v-line);
}

.v-header-mobile-user-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--v-surface);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
}

.v-header-user-meta-mobile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.v-header-user-info-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.v-header-user-name-mobile {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--v-text);
}

.v-header-user-actions-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer público (AppFooter Variant="public") — grid marca + colunas + barra inferior */
.v-footer {
    border-top: 1px solid var(--v-line);
    background: var(--v-panel);
}

.v-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: var(--v-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--v-2);
    color: var(--v-muted);
    font-size: 0.875rem;
}

.v-footer-inner a {
    color: var(--v-muted);
    text-decoration: none;
    font-weight: 500;
}

.v-footer-inner a:hover {
    color: var(--v-text);
}

.v-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
    gap: var(--v-3);
    padding: var(--v-4) var(--v-3) var(--v-3);
}

.v-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.v-footer-col-brand {
    gap: var(--v-2);
    color: var(--v-text);
}

.v-footer-tagline {
    margin: 0;
    color: var(--v-muted);
    max-width: 34ch;
    line-height: 1.6;
    font-size: 0.875rem;
}

.v-footer-col-title {
    font-family: var(--v-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v-faint);
    margin-bottom: 0.25rem;
}

.v-footer-col a {
    width: fit-content;
    font-size: 0.875rem;
    transition: color var(--v-dur-fast) var(--v-ease);
}

.v-footer-bottom {
    border-top: 1px solid var(--v-line);
    background: var(--v-panel-soft);
}

.v-footer-bottom .v-footer-inner {
    padding-top: var(--v-2);
    padding-bottom: var(--v-2);
    font-size: 0.8rem;
    color: var(--v-faint);
}

.v-footer-note {
    font-family: var(--v-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .v-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--v-3);
    }
}

/* Footer compacto dos painéis (AppFooter Variant="panel") */
.v-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--v-1);
    padding: var(--v-2) clamp(1.25rem, 2.5vw, 2.5rem);
    border-top: 1px solid var(--v-line);
    color: var(--v-faint);
    font-size: 0.8rem;
}

.v-panel-footer-brand {
    font-family: var(--v-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.v-panel-footer-links {
    display: flex;
    align-items: center;
    gap: var(--v-2);
}

.v-panel-footer-links a {
    color: var(--v-faint);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--v-dur-fast) var(--v-ease);
}

.v-panel-footer-links a:hover {
    color: var(--v-primary);
}

/* ======================================================================
   Google Play badge (GooglePlayBadge.razor)
   ====================================================================== */

.v-gplay {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    background: var(--v-ink-950);
    color: #FFFFFF;
    border-radius: var(--v-radius-sm);
    text-decoration: none;
    line-height: 1;
    border: 1px solid var(--v-ink-800);
    transition: transform .12s ease, box-shadow .12s ease;
}

.v-gplay:hover {
    transform: translateY(-1px);
    box-shadow: var(--v-shadow-md);
}

.v-gplay-glyph {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.v-gplay-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.v-gplay-top {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.v-gplay-store {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Download row on the landing hero */
.v-download {
    margin-top: var(--v-3);
}

.v-download-label {
    display: block;
    font-size: 0.85rem;
    color: var(--v-muted);
    margin-bottom: 0.5rem;
}

/* ======================================================================
   Landing page (Home.razor)
   ====================================================================== */

.v-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(100% 55% at 18% -8%, rgba(29, 191, 110, 0.16), transparent 55%),
        radial-gradient(90% 50% at 92% 8%, rgba(10, 92, 64, 0.12), transparent 50%),
        var(--v-panel);
    border-bottom: 1px solid var(--v-line);
}

.v-hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: var(--v-4) var(--v-3);
    display: flex;
    align-items: center;
    gap: var(--v-4);
    flex-wrap: wrap;
}

.v-hero-copy {
    flex: 1 1 400px;
    min-width: 300px;
}

.v-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 var(--v-2);
}

.v-hero-copy p {
    font-size: 1.14rem;
    color: var(--v-muted);
    margin: 0 0 var(--v-3);
    max-width: 46ch;
}

.v-hero-actions {
    display: flex;
    gap: var(--v-2);
    flex-wrap: wrap;
}

.v-hero-visual {
    flex: 1 1 400px;
    min-width: 300px;
    max-width: 540px;
    margin: 0 auto;
}

.v-hero-visual svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 40px rgba(16, 24, 40, 0.16));
}

.v-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: var(--v-4) var(--v-3);
}

.v-section-head {
    text-align: center;
    margin-bottom: var(--v-4);
}

.v-section-head h2 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 var(--v-1);
}

.v-section-sub {
    color: var(--v-muted);
    max-width: 620px;
    margin: 0 auto;
}

.v-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--v-2);
}

.v-feature {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: var(--v-3);
    box-shadow: var(--v-shadow-sm);
}

.v-feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--v-radius-sm);
    background: var(--v-primary-050);
    color: var(--v-primary);
    margin-bottom: var(--v-1);
}

.v-feature h3 {
    margin: var(--v-1) 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.v-feature p {
    margin: 0;
    color: var(--v-muted);
    font-size: 0.92rem;
}

.v-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: var(--v-3);
    counter-reset: v-step;
}

.v-step {
    text-align: center;
    padding: var(--v-2);
}

.v-step-num {
    counter-increment: v-step;
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    border-radius: 50%;
    background: var(--v-primary);
    color: #FFFFFF;
    font-family: var(--v-mono);
    font-weight: 700;
    margin: 0 auto var(--v-1);
}

.v-step-num::before {
    content: counter(v-step, decimal-leading-zero);
}

.v-step h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.v-step p {
    color: var(--v-muted);
    font-size: 0.9rem;
    margin: 0;
}

.v-cta {
    background: var(--v-ink-950);
    color: #FFFFFF;
    text-align: center;
    padding: var(--v-4) var(--v-3);
}

.v-cta h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0 0 var(--v-1);
}

.v-cta p {
    color: #AEB6C6;
    max-width: 560px;
    margin: 0 auto var(--v-3);
}

/* ======================================================================
   Long-form content (Faq.razor / Privacidade.razor)
   ====================================================================== */

.v-doc {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) var(--v-3);
}

.v-doc-page {
    min-height: calc(100vh - 62px);
}

.v-doc-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 1.5rem 0 0.75rem;
}

.v-doc-heading fluent-label {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--v-text);
}

.v-doc h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.v-doc h2 {
    margin-top: var(--v-4);
    font-size: 1.2rem;
    font-weight: 700;
}

.v-doc h2:first-of-type {
    margin-top: var(--v-2);
}

.v-doc p {
    color: var(--v-muted);
    line-height: 1.65;
}

.v-doc-accordion-shell {
    margin-top: 1.75rem;
}

.v-doc-accordion-shell:hover {
    transform: none;
}

.v-doc-accordion-shell .v-card-core {
    padding: 0.5rem;
}

.v-doc fluent-accordion {
    display: block;
    background: transparent;
}

.v-doc fluent-accordion-item {
    --neutral-fill-rest: transparent;
    --neutral-fill-hover: var(--v-primary-050);
    --neutral-foreground-rest: var(--v-text);
    --neutral-foreground-hint: var(--v-muted);
    --neutral-stroke-rest: var(--v-line);
}

.v-doc fluent-message-bar {
    --neutral-fill-rest: var(--v-panel-soft);
    --neutral-foreground-rest: var(--v-text);
    --neutral-stroke-rest: var(--v-line);
    border-radius: var(--v-radius-sm);
}

.v-doc fluent-divider {
    --neutral-stroke-rest: var(--v-line);
}

.v-doc a {
    color: var(--v-primary);
}

.v-doc-wide {
    max-width: 1080px;
}

.v-doc-split {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.v-toc {
    position: sticky;
    top: 80px;
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.25rem;
    box-shadow: var(--v-shadow-xs);
}

.v-toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--v-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.v-toc-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--v-radius-xs);
    color: var(--v-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.v-toc-link:hover {
    color: var(--v-primary);
    background: var(--v-primary-050);
}

.v-doc-section {
    margin-bottom: 2.25rem;
    scroll-margin-top: 90px;
}

.v-doc-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.v-doc-badge-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--v-primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.v-doc-section-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--v-text);
    margin: 0;
}

.v-doc-card {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.5rem;
    box-shadow: var(--v-shadow-xs);
    line-height: 1.65;
    color: var(--v-text);
}

.v-doc-page-title {
    margin: 0;
}

.v-doc-h3 {
    font-size: 1rem;
    font-weight: 750;
    color: var(--v-text);
    margin: 1.25rem 0 0.45rem;
}

.v-doc-h3:first-of-type {
    margin-top: 0.35rem;
}

.v-legal-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.v-legal-item {
    padding: 0.85rem 1rem;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    background: var(--v-panel-soft);
    color: var(--v-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.v-legal-item strong {
    display: block;
    color: var(--v-text);
    margin-bottom: 0.2rem;
}

.v-right-card {
    height: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    background: var(--v-panel-soft);
    color: var(--v-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.v-right-card strong {
    display: block;
    color: var(--v-text);
    margin-bottom: 0.25rem;
}

.v-highlight-box {
    background: var(--v-primary-050);
    border: 1px solid color-mix(in srgb, var(--v-primary) 25%, transparent);
    border-left: 4px solid var(--v-primary);
    border-radius: 0 var(--v-radius-sm) var(--v-radius-sm) 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.92rem;
    color: var(--v-text);
}

.v-highlight-box p {
    margin: 0;
    color: var(--v-text);
}

.v-faq-search-box {
    position: relative;
    margin: 1rem 0 1.5rem;
}

.v-faq-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    font-size: 1rem;
    border-radius: var(--v-radius);
    border: 1.5px solid var(--v-line);
    background: var(--v-panel);
    color: var(--v-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.v-faq-search-input:focus-visible {
    border-color: var(--v-primary);
    box-shadow: 0 0 0 3px var(--v-primary-050);
    outline: 2px solid var(--v-primary);
    outline-offset: 2px;
}

.v-faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.v-faq-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--v-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: var(--v-radius-xs);
    min-width: 44px;
    min-height: 32px;
}

.v-faq-search-clear:hover {
    color: var(--v-text);
}

.v-category-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.v-category-chip {
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--v-line);
    background: var(--v-panel);
    color: var(--v-muted);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    min-height: 36px;
}

.v-category-chip:hover {
    border-color: var(--v-primary);
    color: var(--v-primary);
}

.v-category-chip.active {
    background: var(--v-primary);
    border-color: var(--v-primary);
    color: #ffffff;
}

.v-support-card {
    background: linear-gradient(135deg, var(--v-panel) 0%, var(--v-panel-soft) 100%);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 2.25rem 2rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--v-shadow-xs);
}

.v-do-dont-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.v-do-box {
    background: rgba(29, 191, 110, 0.08);
    border: 1px solid rgba(29, 191, 110, 0.35);
    border-radius: var(--v-radius-sm);
    padding: 1rem 1.25rem;
}

.v-dont-box {
    background: rgba(217, 72, 72, 0.08);
    border: 1px solid rgba(217, 72, 72, 0.35);
    border-radius: var(--v-radius-sm);
    padding: 1rem 1.25rem;
}

@media (max-width: 860px) {
    .v-doc-split {
        grid-template-columns: 1fr;
    }
    .v-toc {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .v-do-dont-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================================
   Auth split panel (Login.razor / AcessoNegado.razor) — plain HTML form
   (see Login.razor for why it stays static SSR)
   ====================================================================== */

.v-auth {
    min-height: calc(100vh - 62px);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}

.v-auth-brand {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(70% 80% at 20% 10%, rgba(29, 191, 110, 0.25), transparent 60%),
        radial-gradient(60% 70% at 90% 100%, rgba(10, 92, 64, 0.40), transparent 55%),
        var(--v-ink-950);
    color: #FFFFFF;
    padding: var(--v-4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--v-2);
}

.v-auth-brand h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    max-width: 22ch;
}

.v-auth-brand p {
    color: #C4CBDA;
    max-width: 40ch;
    margin: 0;
}

.v-auth-points {
    list-style: none;
    padding: 0;
    margin: var(--v-2) 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.v-auth-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #DDE1EC;
    font-size: 0.95rem;
}

.v-auth-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--v-amber);
    flex-shrink: 0;
}

.v-auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--v-4);
    background: var(--v-surface);
}

.v-auth-card {
    width: 100%;
    max-width: 380px;
}

.v-auth-shell {
    max-width: 460px;
    box-shadow: var(--v-shadow-md);
}

.v-auth-shell:hover {
    transform: none;
    box-shadow: var(--v-shadow-md);
    border-color: var(--v-line);
}

.v-auth-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.v-auth-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.v-auth-sub {
    color: var(--v-muted);
    margin: 0 0 var(--v-3);
}

.v-auth-card form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.v-auth-card label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: var(--v-1);
}

.v-auth-card input {
    font: inherit;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    margin-bottom: 0.25rem;
    background: var(--v-panel);
    color: var(--v-text);
    color-scheme: inherit;
}

.v-auth-card input:focus {
    outline: 2px solid var(--v-primary);
    outline-offset: 1px;
    border-color: var(--v-primary);
}

.v-auth-submit {
    margin-top: var(--v-2);
    background: var(--v-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--v-radius-sm);
    padding: 0.7rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease);
}

.v-auth-submit:hover {
    background: var(--v-primary-600);
    box-shadow: var(--v-shadow-sm);
    transform: translateY(-2px);
}

.v-auth-card fluent-message-bar {
    --neutral-fill-rest: var(--v-panel-soft);
    --neutral-foreground-rest: var(--v-text);
    --neutral-stroke-rest: var(--v-line);
    border-radius: var(--v-radius-sm);
}

.v-auth-hint {
    margin-top: var(--v-3);
    font-size: 0.8rem;
    color: var(--v-muted);
}

.v-auth-hint code {
    font-family: var(--v-mono);
    background: var(--v-primary-050);
    color: var(--v-primary-700);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.v-auth-credentials {
    display: grid;
    gap: var(--v-2);
    margin-top: 1rem;
    padding: var(--v-2);
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
}

.v-auth-credential {
    display: grid;
    gap: 0.35rem;
}

.v-auth-credential-label {
    font-family: var(--v-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v-muted);
}

.v-auth-credential code {
    display: block;
    font-family: var(--v-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--v-primary);
    word-break: break-all;
    background: transparent;
    padding: 0;
}

/* Simple centered wrapper for AcessoNegado */
.v-center {
    max-width: 560px;
    margin: 0 auto;
    padding: var(--v-4) var(--v-3);
}

/* ======================================================================
   Screenshot frames (ScreenshotFrame.razor) — molduras Double-Bezel para
   prints/mockups reais; placeholder aparece enquanto a imagem não existe.
   ====================================================================== */

.v-shot {
    margin: 0;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: calc(var(--v-radius) + 6px);
    box-shadow: var(--v-shadow-sm);
    padding: 6px;
    transition: box-shadow var(--v-dur) var(--v-ease),
                transform var(--v-dur) var(--v-ease);
}

.v-shot:hover {
    box-shadow: var(--v-shadow-md);
    transform: translateY(-3px);
}

.v-shot-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.55rem 0.8rem;
}

.v-shot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v-line-strong);
}

.v-shot-url {
    margin-left: 0.5rem;
    flex: 1;
    max-width: 200px;
    font-family: var(--v-mono);
    font-size: 0.68rem;
    color: var(--v-faint);
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    text-align: center;
}

.v-shot-body {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--v-line) 55%, transparent);
    border-radius: var(--v-radius);
    background: var(--v-panel);
    aspect-ratio: 16 / 10;
}

.v-shot-body img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.v-shot-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--v-2);
    text-align: center;
    color: var(--v-faint);
    background:
        radial-gradient(60% 60% at 50% 30%, color-mix(in srgb, var(--v-primary) 6%, transparent), transparent 70%),
        var(--v-panel-soft);
    font-size: 0.82rem;
}

.v-shot-placeholder code {
    font-family: var(--v-mono);
    font-size: 0.7rem;
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: 5px;
    padding: 0.15rem 0.5rem;
}

.v-shot-caption {
    padding: 0.6rem 0.4rem 0.3rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--v-muted);
}

/* Variante celular — 9:19, radius maior, notch */
.v-shot--phone {
    max-width: 260px;
    margin-inline: auto;
    border-radius: calc(var(--v-radius) + 14px);
}

.v-shot--phone .v-shot-chrome {
    justify-content: center;
    padding: 0.45rem 0;
}

.v-shot-notch {
    width: 72px;
    height: 7px;
    border-radius: 999px;
    background: var(--v-line-strong);
}

.v-shot--phone .v-shot-body {
    aspect-ratio: 9 / 17;
    border-radius: calc(var(--v-radius) + 8px);
}

/* Grid da seção "Veja por dentro" — 2 browsers + 1 phone */
.v-shots-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
    gap: var(--v-3);
    align-items: start;
}

/* ======================================================================
   Plans & Pricing (.v-plans-grid / .v-plan-card)
   ====================================================================== */

.v-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--v-primary-050);
    border: 1px solid color-mix(in srgb, var(--v-primary) 22%, transparent);
    color: var(--v-primary);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: var(--v-2);
}

.v-plan-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem auto 2.5rem;
}

.v-plan-toggle {
    display: inline-flex;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.v-plan-toggle-btn {
    border: 0;
    background: transparent;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-family: var(--v-font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--v-muted);
    cursor: pointer;
    transition: color var(--v-dur-fast) var(--v-ease),
                background-color var(--v-dur-fast) var(--v-ease),
                box-shadow var(--v-dur-fast) var(--v-ease);
}

.v-plan-toggle-btn.active {
    background: var(--v-panel);
    color: var(--v-primary);
    box-shadow: var(--v-shadow-sm);
}

.v-plan-discount-badge {
    background: var(--v-ok-050);
    color: var(--v-ok);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v-ok) 25%, transparent);
}

.v-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--v-3);
    align-items: stretch;
}

.v-plan-card {
    position: relative;
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: var(--v-3);
    box-shadow: var(--v-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--v-dur-fast) var(--v-ease), box-shadow var(--v-dur-fast) var(--v-ease), border-color var(--v-dur-fast) var(--v-ease);
}

.v-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v-shadow-md);
    border-color: var(--v-line-strong);
}

.v-plan-card--featured {
    border-color: var(--v-primary);
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--v-primary), var(--v-shadow-md);
    background: color-mix(in srgb, var(--v-primary-050) 25%, var(--v-panel));
}

.v-plan-featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--v-primary);
    color: #FFFFFF;
    font-family: var(--v-font);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(10, 92, 64, 0.35);
    white-space: nowrap;
}

.v-plan-header {
    margin-bottom: 1.25rem;
}

.v-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: var(--v-text);
}

.v-plan-target {
    font-size: 0.85rem;
    color: var(--v-muted);
    margin: 0;
}

.v-plan-price-box {
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.v-plan-price-value {
    font-family: var(--v-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v-text);
    line-height: 1;
}

.v-plan-price-period {
    font-size: 0.85rem;
    color: var(--v-muted);
}

.v-plan-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
    border-top: 1px solid var(--v-line);
    padding-top: 1.25rem;
}

.v-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--v-text);
}

.v-plan-feature-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.v-plan-feature-icon.included {
    color: var(--v-ok);
}

.v-plan-feature-icon.excluded {
    color: var(--v-faint);
    opacity: 0.45;
}

.v-plan-feature.disabled {
    color: var(--v-faint);
    text-decoration: line-through;
}

.v-plan-cta {
    margin-top: 1.5rem;
}

/* Personas Section */
.v-persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--v-3);
}

.v-persona-card {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: var(--v-3);
    box-shadow: var(--v-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.v-persona-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.v-persona-card p {
    margin: 0 0 0.8rem;
    font-size: 0.88rem;
    color: var(--v-muted);
    line-height: 1.5;
}

.v-persona-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--v-primary);
    background: var(--v-primary-050);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    width: fit-content;
}

/* Guide / Coordinates */
.v-guide-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.v-guide-step {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.v-guide-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--v-primary);
    color: #FFFFFF;
    font-family: var(--v-mono);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-guide-step-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.v-guide-step-body p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--v-muted);
    line-height: 1.55;
}

.v-guide-tip {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--v-primary);
    background: var(--v-primary-050);
    padding: 0.35rem 0.65rem;
    border-radius: var(--v-radius-sm);
    display: inline-block;
}

.v-guide-dicas {
    background: var(--v-panel-soft);
    border: 1px dashed var(--v-line-strong);
    border-radius: var(--v-radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.v-guide-dicas ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--v-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}



/* ======================================================================
   Dark theme (html[data-theme="dark"] — set by theme.js / ThemePreference)
   Sidebar stays ink-dark in both modes; content surfaces invert.
   ====================================================================== */

:root[data-theme="dark"] {
    --v-primary: #1DBF6E;
    --v-primary-600: #17A860;
    --v-primary-700: #128F50;
    --v-primary-050: #102B1E;
    --v-primary-100: #163C2A;
    --v-leaf: #1DBF6E;
    --v-leaf-soft: #1A3D2C;
    --v-amber: #F0B348;
    --v-amber-050: #3B2C12;
    --v-amber-100: #57441F;

    /* Status — lighter variants for AA contrast on dark panels */
    --v-ok: #6FE3A6;
    --v-ok-050: #153023;
    --v-danger: #FF6B70;
    --v-danger-050: #3D1B1E;
    --v-warn: #E0A83C;
    --v-warn-050: #3E3118;
    --v-warn-text: #E8B45C;
    --v-info: #7CC4EE;
    --v-info-050: #17293A;
    --v-violet: #C4B0F3;
    --v-violet-050: #2A2140;

    --v-surface: #101412;
    --v-surface-2: #222A26;
    --v-panel: #1A211D;
    --v-panel-soft: #222A26;
    --v-ink: #EEF2EF;
    --v-text: #EEF2EF;
    --v-muted: #9AA69E;
    --v-faint: #93A098;
    --v-line: #2E3832;
    --v-line-strong: #3E4C44;
    --v-focus: 0 0 0 3px rgba(29, 191, 110, .45);

    --v-shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
    --v-shadow-sm: 0 1px 2px rgba(0, 0, 0, .30), 0 6px 18px rgba(0, 0, 0, .28);
    --v-shadow-md: 0 16px 36px rgba(0, 0, 0, .42), 0 4px 10px rgba(0, 0, 0, .30);

    /* Scrollbars, inputs e <select> nativos escuros (regra Vercel "Dark Mode & Theming") */
    color-scheme: dark;
}

:root[data-theme="dark"] .v-public-header {
    background: color-mix(in srgb, var(--v-panel) 90%, transparent);
    border-bottom-color: var(--v-line);
}

:root[data-theme="dark"] .v-nav-pub {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .v-nav-pub-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

:root[data-theme="dark"] .v-nav-pub-link.active {
    background: rgba(29, 191, 110, 0.15);
    color: var(--v-leaf);
}

:root[data-theme="dark"] .v-header-user-chip {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--v-line);
}

:root[data-theme="dark"] .v-header-btn-panel {
    background: rgba(29, 191, 110, 0.12);
    color: var(--v-leaf) !important;
    border-color: rgba(29, 191, 110, 0.3);
}

:root[data-theme="dark"] .v-header-btn-panel:hover {
    background: rgba(29, 191, 110, 0.22);
}

:root[data-theme="dark"] .v-header-mobile-drawer {
    background: var(--v-panel);
    border-bottom-color: var(--v-line);
}

:root[data-theme="dark"] .v-auth-card input {
    background: var(--v-surface);
    color: var(--v-text);
    color-scheme: dark;
    border-color: var(--v-line);
}

:root[data-theme="dark"] .v-doc fluent-accordion {
    background: transparent;
}

:root[data-theme="dark"] .v-auth-submit:hover {
    filter: brightness(1.08);
}

:root[data-theme="dark"] .v-footer {
    background: var(--v-panel);
    border-top-color: var(--v-line);
}

/* ======================================================================
   Responsive
   ====================================================================== */

@media (max-width: 860px) {
    /* Sidebar vira drawer: fixa, fora da tela, desliza com transform (GPU-safe) */
    .v-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 264px;
        max-width: 84vw;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform var(--v-dur) var(--v-ease);
        box-shadow: var(--v-shadow-md);
    }

    .v-shell--nav-open .v-sidebar {
        transform: translateX(0);
    }

    .v-shell--nav-open .v-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(10, 14, 22, 0.45);
    }

    .v-nav-burger {
        display: inline-flex;
    }

    /* Public header responsive */
    .v-nav-pub {
        display: none;
    }

    .v-header-actions .v-header-divider,
    .v-header-actions .v-header-btn-ghost,
    .v-header-actions .v-header-btn-primary,
    .v-header-actions .v-header-btn-panel,
    .v-header-actions .v-header-user-chip,
    .v-header-actions .v-header-btn-logout,
    .v-header-actions .v-header-auth-group {
        display: none;
    }

    .v-header-burger {
        display: inline-flex;
    }

    .v-header-tag {
        display: none;
    }

    .v-auth {
        grid-template-columns: 1fr;
    }

    .v-auth-brand {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v-sidebar {
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (forced-colors: active) {
    :focus-visible {
        outline: 3px solid Highlight;
        outline-offset: 2px;
    }

    .v-sidebar,
    .v-public-header,
    .v-topbar,
    .v-card,
    .v-kpi,
    .v-nav-link,
    .v-header-btn-primary,
    .v-auth-submit {
        border: 1px solid CanvasText;
    }

    .v-nav-link.active,
    .v-nav-pub-link.active {
        outline: 2px solid Highlight;
    }
}

.v-badge-root {
    background: var(--v-violet-050);
    color: var(--v-violet);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v-violet) 25%, transparent);
}

/* ======================================================================
   DASHBOARD & ONBOARDING STYLES (Anunciante & Admin)
   ====================================================================== */

/* 1. Alertas & Banners de Ação */
.v-dash-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.v-dash-alert-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--v-radius-sm);
    text-decoration: none;
    color: var(--v-text);
    font-size: 0.92rem;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-dash-alert-item:hover {
    transform: translateX(3px);
    box-shadow: var(--v-shadow-sm);
}

.v-dash-alert-urgente {
    background: var(--v-amber-050, #fff7ed);
    border: 1px solid var(--v-amber-100, #ffedd5);
}

.v-dash-alert-alerta {
    background: var(--v-warn-050);
    border: 1px solid color-mix(in srgb, var(--v-warn) 35%, transparent);
}

.v-dash-alert-importante {
    background: var(--v-primary-050, #EAF8F1);
    border: 1px solid var(--v-primary-100, #D6F5E4);
}

.v-dash-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-dash-alert-text {
    flex: 1;
    font-weight: 600;
}

.v-dash-alert-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--v-primary);
    white-space: nowrap;
}

/* 2. KPI Cards Grid */
.v-dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .v-dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .v-dash-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.v-dash-kpi-card {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.15rem 1.25rem;
    text-decoration: none;
    color: var(--v-text);
    box-shadow: var(--v-shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-dash-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v-shadow-md);
    border-color: var(--v-line-strong);
}

.v-dash-kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.v-dash-kpi-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v-dash-kpi-badge--primary {
    background: var(--v-primary-050);
    color: var(--v-primary);
}

.v-dash-kpi-badge--info {
    background: var(--v-info-050);
    color: var(--v-info);
}

.v-dash-kpi-badge--warn {
    background: var(--v-warn-050);
    color: var(--v-warn-text);
}

.v-dash-kpi-badge--accent {
    background: var(--v-violet-050);
    color: var(--v-violet);
}

.v-dash-kpi-arrow {
    color: var(--v-faint);
    opacity: 0.6;
    transition: transform var(--v-dur) var(--v-ease), opacity var(--v-dur);
}

.v-dash-kpi-card:hover .v-dash-kpi-arrow {
    opacity: 1;
    transform: translateX(3px);
    color: var(--v-primary);
}

.v-dash-kpi-value {
    font-family: var(--v-mono);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--v-text);
    margin-bottom: 0.2rem;
}

.v-dash-kpi-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--v-text);
}

.v-dash-kpi-sub {
    font-size: 0.78rem;
    color: var(--v-muted);
    margin-top: 0.25rem;
}

.v-dash-kpi-sub--highlight {
    color: var(--v-warn-text);
    font-weight: 600;
}

/* 3. Onboarding Checklist Shell */
.v-onboarding-shell {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--v-shadow-sm);
}

.v-onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.v-onboarding-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.2rem 0;
    color: var(--v-text);
}

.v-onboarding-desc {
    font-size: 0.86rem;
    color: var(--v-muted);
    margin: 0;
}

.v-onboarding-progress-box {
    min-width: 200px;
    text-align: right;
}

.v-onboarding-progress-bar {
    height: 6px;
    background: var(--v-panel-soft);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.v-onboarding-progress-fill {
    height: 100%;
    background: var(--v-primary);
    border-radius: 99px;
    transition: width 0.4s ease;
}

.v-onboarding-progress-text {
    font-family: var(--v-mono);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--v-muted);
}

.v-onboarding-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 960px) {
    .v-onboarding-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .v-onboarding-steps-grid {
        grid-template-columns: 1fr;
    }
}

.v-onboarding-step-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--v-radius-sm);
    text-decoration: none;
    color: var(--v-text);
    border: 1px solid var(--v-line);
    background: var(--v-panel-soft);
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease),
                background-color var(--v-dur) var(--v-ease);
}

.v-onboarding-step-card.is-done {
    background: var(--v-primary-050);
    border-color: var(--v-primary-100);
}

.v-onboarding-step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--v-shadow-sm);
    border-color: var(--v-primary);
}

.v-onboarding-step-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-onboarding-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--v-line);
    color: var(--v-muted);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-onboarding-step-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.v-onboarding-step-info strong {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-onboarding-step-info span {
    font-size: 0.75rem;
    color: var(--v-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-onboarding-step-arrow {
    color: var(--v-faint);
    opacity: 0.5;
}

/* 4. Main 2-Column Dashboard Grid */
.v-dash-main-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 960px) {
    .v-dash-main-grid {
        grid-template-columns: 1fr;
    }
}

.v-dash-col-primary,
.v-dash-col-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card Panels */
.v-dash-card {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--v-shadow-sm);
}

.v-dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--v-line);
}

.v-dash-card-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.v-dash-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--v-primary-050);
    color: var(--v-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-dash-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--v-text);
    letter-spacing: -0.01em;
}

.v-dash-card-subtitle {
    font-size: 0.8rem;
    color: var(--v-muted);
    margin: 0;
}

/* List Rows */
.v-dash-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.v-dash-item-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--v-radius-sm);
    border: 1px solid transparent;
    transition: background var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-dash-item-row:hover {
    background: var(--v-panel-soft);
    border-color: var(--v-line);
}

.v-dash-item-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--v-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-dash-item-avatar--item {
    background: var(--v-primary-050);
    color: var(--v-primary);
}

.v-dash-item-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.v-dash-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.v-dash-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--v-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-dash-item-subtext {
    font-size: 0.78rem;
    color: var(--v-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.v-dash-item-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.v-dash-price-tag {
    font-family: var(--v-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--v-primary);
}

/* Status Pills */
.v-dash-status-pill {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.v-dash-status-pill.is-active {
    background: var(--v-ok-050);
    color: var(--v-ok);
}

.v-dash-status-pill.is-inactive {
    background: var(--v-panel-soft);
    color: var(--v-muted);
}

/* Booking Date Box */
.v-dash-booking-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.35rem 0.5rem;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

.v-dash-booking-day {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--v-text);
    line-height: 1.1;
}

.v-dash-booking-time {
    font-family: var(--v-mono);
    font-size: 0.7rem;
    color: var(--v-muted);
    line-height: 1.1;
    margin-top: 0.15rem;
}

.v-dash-badge-status {
    display: inline-block;
    padding: 0.12rem 0.4rem;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.v-dash-badge-status--pendente {
    background: var(--v-warn-050);
    color: var(--v-warn-text);
}

.v-dash-badge-status--confirmado {
    background: var(--v-ok-050);
    color: var(--v-ok);
}

.v-dash-badge-status--concluido {
    background: var(--v-info-050);
    color: var(--v-info);
}

.v-dash-badge-status--cancelado {
    background: var(--v-danger-050);
    color: var(--v-danger);
}

/* Shortcuts Grid */
.v-dash-shortcuts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.v-dash-shortcut-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--v-radius-sm);
    border: 1px solid var(--v-line);
    background: var(--v-panel-soft);
    color: var(--v-text);
    text-decoration: none;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease),
                background-color var(--v-dur) var(--v-ease);
}

.v-dash-shortcut-item:hover {
    background: var(--v-panel);
    border-color: var(--v-primary);
    transform: translateX(3px);
    box-shadow: var(--v-shadow-sm);
}

.v-dash-shortcut-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--v-panel);
    color: var(--v-primary);
    border: 1px solid var(--v-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-dash-shortcut-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.v-dash-shortcut-meta strong {
    font-size: 0.88rem;
    font-weight: 600;
}

.v-dash-shortcut-meta span {
    font-size: 0.75rem;
    color: var(--v-muted);
}

/* Empty state inside card */
.v-dash-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--v-panel-soft);
    border: 1px dashed var(--v-line);
    border-radius: var(--v-radius-sm);
}

.v-dash-empty-box p {
    margin: 0.65rem 0 1rem;
    font-size: 0.9rem;
    color: var(--v-muted);
}

/* ======================================================================
   ADMIN DASHBOARD & MANAGEMENT STYLES
   ====================================================================== */

.v-admin-mod-card {
    background: var(--v-panel);
    border: 1px solid var(--v-amber, #d97706);
    border-radius: var(--v-radius-md);
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.08);
    position: relative;
    overflow: hidden;
}

.v-admin-mod-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.v-admin-mod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.v-admin-mod-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--v-text);
}

.v-admin-mod-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    margin-bottom: 0.5rem;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-admin-mod-item:hover {
    border-color: var(--v-amber, #d97706);
    transform: translateY(-1px);
    box-shadow: var(--v-shadow-xs);
}

.v-admin-mod-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--v-text);
}

.v-admin-mod-info span {
    font-size: 0.78rem;
    color: var(--v-muted);
}

.v-admin-dist-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.v-admin-dist-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--v-line);
}

.v-admin-dist-segment {
    height: 100%;
    transition: width 0.4s var(--v-ease);
}

.v-admin-dist-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.8rem;
}

.v-admin-dist-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--v-text);
}

.v-admin-dist-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.v-admin-health-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.v-admin-health-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: var(--v-panel-soft);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    font-size: 0.85rem;
}

.v-admin-health-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--v-text);
}

/* Compact Admin Dashboard UI */
.v-admin-head-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.15rem;
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    margin-bottom: 1rem;
}

.v-admin-kpi-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .v-admin-kpi-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .v-admin-kpi-grid-compact {
        grid-template-columns: 1fr;
    }
}

.v-admin-kpi-card-compact {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--v-text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--v-dur) var(--v-ease),
                box-shadow var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-admin-kpi-card-compact:hover {
    border-color: var(--v-primary);
    transform: translateY(-2px);
    box-shadow: var(--v-shadow-xs);
}

.v-admin-kpi-card-compact .v-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--v-muted);
    font-weight: 600;
}

.v-admin-kpi-card-compact .v-kpi-val {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--v-text);
    margin: 0.25rem 0;
    line-height: 1.1;
}

.v-admin-kpi-card-compact .v-kpi-foot {
    font-size: 0.75rem;
    color: var(--v-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v-admin-card-compact {
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-sm);
    padding: 0.95rem 1.15rem;
    margin-bottom: 0.85rem;
}

.v-admin-biz-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--v-radius-xs, 6px);
    border: 1px solid var(--v-line);
    background: var(--v-panel-soft);
    margin-bottom: 0.4rem;
    font-size: 0.86rem;
    transition: background-color var(--v-dur) var(--v-ease),
                border-color var(--v-dur) var(--v-ease);
}

.v-admin-biz-compact-row:hover {
    border-color: var(--v-primary);
    background: var(--v-panel);
}

.v-admin-biz-compact-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--v-panel);
    border: 1px solid var(--v-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--v-primary);
}


