/* Extras do dashboard — alertas, indicadores e onboarding (layout original preservado) */

/* ===== Layout unificado — todas as páginas internas autenticadas ===== */
:root {
    --app-content-padding-x: 280px;
}

@media (max-width: 1550px) {
    :root {
        --app-content-padding-x: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --app-content-padding-x: 16px;
    }
}

body.app-auth > section.content {
    float: none;
    display: block;
    width: calc(100% - var(--app-sidebar-width));
    max-width: none;
    margin-left: var(--app-sidebar-width);
    margin-right: 0;
    padding: 24px var(--app-content-padding-x) 48px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Conteúdo interno usa a largura do section — sem gutter extra no header only */
body.app-auth > section.content .dash-container,
body.app-auth > section.content .vc-container,
body.app-auth > section.content .pg-hero,
body.app-auth > section.content .pg-hero__inner,
body.app-auth > section.content .sp-body,
body.app-auth > section.content .sp-container,
body.app-auth > section.content .profile-body,
body.app-auth > section.content .profile-container,
body.app-auth > section.content > .container,
body.app-auth > section.content > .container-fluid,
body.app-auth > section.content .content-lista-candidatos,
body.app-auth > section.content .vc-main,
body.app-auth > section.content .dash-body,
body.app-auth > section.content .dash-onboarding-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body.app-auth > section.content .sp-body,
body.app-auth > section.content .profile-body {
    padding-bottom: 40px;
}

body.app-auth > section.content .pg-hero {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    body.app-auth > section.content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding-left: var(--app-content-padding-x);
        padding-right: var(--app-content-padding-x);
    }
}

/* ===== Layout dashboard — gutter via --app-content-padding-x (280 / 80 / 16) ===== */
body.app-auth section.content.dash-page {
    float: none;
    display: block;
    width: calc(100% - var(--app-sidebar-width));
    max-width: none;
    margin-left: var(--app-sidebar-width);
    margin-right: 0;
    padding: 24px var(--app-content-padding-x) 48px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.dash-page {
    display: block;
}

.dash-page .header-content.dash-page-header {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.dash-page .header-content.dash-page-header .app-breadcrumb {
    width: 100%;
    margin-bottom: 12px;
}

.dash-page .vagas-recentes .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.dash-page .vagas-recentes .header-content figure,
.dash-page .vagas-recentes .header-content h1 {
    float: none;
    margin: 0;
}

.dash-page-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-page .header-content.dash-page-header h1,
.dash-page .header-content.dash-page-header figure {
    float: none;
}

.dash-page .dash-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.dash-page-row {
    --bs-gutter-x: 20px;
    width: 100%;
    margin: 0;
}

.dash-page-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.dash-body,
.dash-onboarding-wrap {
    width: 100%;
    float: none;
}

.dash-page .vagas-recentes,
.dash-page .dash-section,
.dash-page .dash-charts-grid,
.dash-page .dash-vagas-grid,
.dash-page .dash-stats-grid,
.dash-page .dash-empty-hero,
.dash-page .dash-insights-band,
.dash-page .dash-charts-band {
    float: none;
    clear: both;
}

.dash-page-header {
    margin-bottom: 20px;
}

.dash-demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #ecfdf5);
    border: 1px solid rgba(3, 104, 255, 0.14);
}

.dash-demo-banner strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
}

.dash-demo-banner p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.dash-demo-banner__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #0368ff;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.dash-demo-banner__link:hover {
    opacity: 0.92;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-bottom: 28px;
}

.dash-stats-grid--hubfi {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

/* ===== hubfi-stat-card / rt-stat-card — compacto (5 por linha) ===== */
.hubfi-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(15, 18, 25, 0.03), 0 0 0 1px #e5e7eb;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.hubfi-stat-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(15, 18, 25, 0.04),
        0 0 0 1px #d1d5dd,
        0 12px 24px -8px rgba(15, 18, 25, 0.08);
}

.rt-stat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.frame-icon {
    display: inline-block;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 3px;
    background: transparent;
    flex-shrink: 0;
}

.frame-icon-inner {
    background: #fff;
    border-radius: 7px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    box-shadow:
        0 12px 8px rgba(15, 23, 42, 0.01),
        0 4px 4px rgba(15, 23, 42, 0.03),
        0 1px 3px rgba(15, 23, 42, 0.05);
}

.frame-icon-inner svg {
    display: block;
    width: 18px;
    height: 18px;
}

.rt-stat-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 5px;
    padding: 3px 7px;
    line-height: 1.2;
    white-space: nowrap;
}

/* KPI — cor por card */
.rt-stat-card--blue .frame-icon { border-color: #bfdbfe; }
.rt-stat-card--blue .frame-icon-inner {
    color: #0368ff;
    box-shadow:
        0 12px 8px rgba(3, 104, 255, 0.01),
        0 4px 4px rgba(3, 104, 255, 0.04),
        0 1px 3px rgba(3, 104, 255, 0.06);
}
.rt-stat-card--blue .rt-stat-badge { color: #0368ff; background: #eff6ff; }
.rt-stat-card--blue .rt-stat-dot,
.rt-stat-card--blue .rt-stat-trend { color: #0368ff; }
.rt-stat-card--blue .rt-stat-dot { background: #0368ff; }

.rt-stat-card--sky .frame-icon { border-color: #bae6fd; }
.rt-stat-card--sky .frame-icon-inner {
    color: #0284c7;
    box-shadow:
        0 12px 8px rgba(2, 132, 199, 0.01),
        0 4px 4px rgba(2, 132, 199, 0.04),
        0 1px 3px rgba(2, 132, 199, 0.06);
}
.rt-stat-card--sky .rt-stat-badge { color: #0284c7; background: #f0f9ff; }
.rt-stat-card--sky .rt-stat-dot,
.rt-stat-card--sky .rt-stat-trend { color: #0284c7; }
.rt-stat-card--sky .rt-stat-dot { background: #0284c7; }

.rt-stat-card--violet .frame-icon { border-color: #ddd6fe; }
.rt-stat-card--violet .frame-icon-inner {
    color: #7c3aed;
    box-shadow:
        0 12px 8px rgba(124, 58, 237, 0.01),
        0 4px 4px rgba(124, 58, 237, 0.04),
        0 1px 3px rgba(124, 58, 237, 0.06);
}
.rt-stat-card--violet .rt-stat-badge { color: #7c3aed; background: #f5f3ff; }
.rt-stat-card--violet .rt-stat-dot,
.rt-stat-card--violet .rt-stat-trend { color: #7c3aed; }
.rt-stat-card--violet .rt-stat-dot { background: #7c3aed; }

.rt-stat-card--amber .frame-icon { border-color: #fde68a; }
.rt-stat-card--amber .frame-icon-inner {
    color: #d97706;
    box-shadow:
        0 12px 8px rgba(217, 119, 6, 0.01),
        0 4px 4px rgba(217, 119, 6, 0.04),
        0 1px 3px rgba(217, 119, 6, 0.06);
}
.rt-stat-card--amber .rt-stat-badge { color: #d97706; background: #fffbeb; }
.rt-stat-card--amber .rt-stat-dot,
.rt-stat-card--amber .rt-stat-trend { color: #d97706; }
.rt-stat-card--amber .rt-stat-dot { background: #d97706; }

.rt-stat-card--emerald .frame-icon { border-color: #a7f3d0; }
.rt-stat-card--emerald .frame-icon-inner {
    color: #059669;
    box-shadow:
        0 12px 8px rgba(5, 150, 105, 0.01),
        0 4px 4px rgba(5, 150, 105, 0.04),
        0 1px 3px rgba(5, 150, 105, 0.06);
}
.rt-stat-card--emerald .rt-stat-badge { color: #059669; background: #ecfdf5; }
.rt-stat-card--emerald .rt-stat-dot,
.rt-stat-card--emerald .rt-stat-trend { color: #059669; }
.rt-stat-card--emerald .rt-stat-dot { background: #059669; }

/* legado — páginas que usam frame-icon--blue diretamente */
.frame-icon--blue { border-color: #bfdbfe; }
.frame-icon--blue .frame-icon-inner {
    color: #0368ff;
    box-shadow:
        0 12px 8px rgba(3, 104, 255, 0.01),
        0 4px 4px rgba(3, 104, 255, 0.04),
        0 1px 3px rgba(3, 104, 255, 0.06);
}

.hubfi-num-stack {
    min-height: 28px;
    margin-top: -2px;
}

.hubfi-stat-num {
    font-size: 32px;
    font-weight: 700;
    color: #0f1219;
    letter-spacing: -0.028em;
    line-height: 1;
    display: inline-block;
}

.hubfi-stat-num small {
    font-size: 20px;
    font-weight: 700;
    color: #0368ff;
    letter-spacing: -0.02em;
}

.rt-stat-desc {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.35;
}

.rt-stat-foot {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
}

.rt-stat-meta {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rt-stat-meta--muted {
    color: #cbd5e1;
}

.rt-stat-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #94a3b8;
    flex-shrink: 0;
}

.rt-stat-trend {
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.rt-stat-side {
    font-weight: 600;
    color: #334155;
    flex-shrink: 0;
    font-size: 10px;
}

.rt-stat-side--muted {
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 1400px) {
    .dash-stats-grid--hubfi {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dash-stats-grid--hubfi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dash-stats-grid--hubfi {
        grid-template-columns: 1fr;
    }

    .hubfi-stat-num {
        font-size: 28px;
    }
}

.dash-section.vagas-recentes {
    width: 100%;
    float: none;
    margin: 0 0 28px;
    padding: 0;
}

.dash-vagas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    align-items: stretch;
}

.dash-vagas-grid .card-vag {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.dash-vagas-grid .card-vag .mask {
    float: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    min-height: 100%;
    box-sizing: border-box;
    padding: 16px !important;
}

.dash-vagas-grid .card-vag .mask > span,
.dash-vagas-grid .card-vag .mask > h1,
.dash-vagas-grid .card-vag .candidatos,
.dash-vagas-grid .card-vag .tempo,
.dash-vagas-grid .card-vag .footer {
    float: none;
}

.dash-vagas-grid .card-vag h1 {
    margin: 8px 0 0;
}

.dash-vagas-grid .card-vag .tempo {
    margin: 16px 0 0;
}

.dash-vagas-grid .card-vag .footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    margin-top: auto;
    padding: 16px 0 0;
}

.dash-vagas-grid .card-vag .footer > a {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.dash-vagas-grid .card-vag .footer .btn-medium {
    float: none;
    margin: 0;
}

.dash-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.dash-charts-band {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 32px;
}

.dash-hub-card--chart {
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.dash-chart-canvas {
    flex: 1;
    min-height: 300px;
    width: 100%;
}

.dash-chart-canvas .apexcharts-bar-area {
    transition: filter 0.15s ease;
}

.dash-chart-canvas .apexcharts-bar-area:hover {
    filter: brightness(0.95);
}

.dash-chart-canvas .apexcharts-datalabel {
    font-family: Urbanist, sans-serif !important;
}

.dash-chart-canvas .apexcharts-datalabels rect {
    fill: #f8fafc !important;
    stroke: #e2e8f0 !important;
    stroke-width: 1px !important;
}

.dash-chart-canvas .apexcharts-xaxis-label,
.dash-chart-canvas .apexcharts-yaxis-label {
    font-family: Urbanist, sans-serif !important;
}

#vagasMaisCandidatos .apexcharts-bar-area {
    cursor: pointer;
}

.dash-chart-canvas .apexcharts-canvas,
.dash-chart-canvas .apexcharts-svg {
    width: 100% !important;
}

/* Sobrescreve .chart legado dentro do dashboard novo */
.dash-charts-band .chart {
    float: none !important;
    width: 100% !important;
    margin: 0;
    min-height: auto;
    border: none;
    background: transparent;
    padding: 0;
}

/* ===== Painéis de insights — estilo HubFi ===== */
.dash-insights-band {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 32px;
}

.dash-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

.dash-hub-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    height: 100%;
    font-family: Urbanist, sans-serif;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.dash-hub-card:hover {
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.1);
    border-color: #dbeafe;
}

.dash-hub-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.dash-hub-body--fit {
    justify-content: space-between;
}

.dash-hub-body--funnel {
    gap: 16px;
    justify-content: center;
}

.dash-hub-body--actions {
    gap: 16px;
}

.dash-hub-head-text {
    min-width: 0;
    flex: 1;
}

/* Header */
.dash-hub-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.dash-hub-head--split {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-hub-head-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.dash-hub-head h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.dash-hub-head p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.dash-hub-head-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dash-hub-head-icon--teal,
.dash-hub-head-icon--blue { background: #eff6ff; color: #0368ff; border-color: #dbeafe; }
.dash-hub-head-icon--amber { background: #fffbeb; color: #d97706; border-color: #fde68a; }

.dash-hub-more {
    font-size: 12px;
    font-weight: 600;
    color: #0368ff;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 4px;
}

.dash-hub-more:hover { text-decoration: underline; }

.dash-hub-select {
    flex-shrink: 0;
    max-width: 100%;
    min-width: 160px;
    padding: 10px 32px 10px 12px;
    font-family: Urbanist, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
}

.dash-hub-select:focus {
    outline: none;
    border-color: #0368ff;
    box-shadow: 0 0 0 3px rgba(3, 104, 255, 0.1);
}

.dash-hub-link {
    font-size: 12px;
    font-weight: 600;
    color: #0368ff;
    text-decoration: none;
}

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

.dash-hub-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Empty state por card */
.dash-card-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 20px 24px;
    text-align: center;
    min-height: 180px;
    opacity: 1;
    visibility: visible;
}

.dash-card-empty.dash-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
}

.dash-hub-body--chart .dash-card-empty,
.dash-hub-body--fit .dash-card-empty,
.dash-hub-body--funnel .dash-card-empty,
.dash-hub-body--actions .dash-card-empty {
    width: 100%;
    min-height: 220px;
    flex: 1;
    justify-content: center;
    padding: 24px 16px;
}

.dash-hub-body .dash-card-empty__illus {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-bottom: 4px;
}

.dash-hub-body .dash-card-empty__illus--gauge .dash-card-empty__svg {
    width: 120px;
}

.dash-hub-body .dash-card-empty__illus--funnel .dash-card-empty__funnel {
    width: 120px;
}

.dash-hub-body .dash-card-empty__illus--chart .dash-card-empty__bars {
    width: 120px;
    height: 64px;
}

.dash-hub-body .dash-card-empty__illus--jobs .dash-card-empty__job {
    width: 110px;
}

.dash-hub-body .dash-card-empty__illus--action,
.dash-hub-body .dash-card-empty__illus--check {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--dash-empty-bg, #f8fafc);
    border: 1px solid #e8edf4;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.dash-hub-body .dash-card-empty__svg--icon {
    width: 56px;
    height: 56px;
}

.dash-hub-body .dash-card-empty__svg {
    width: auto;
}

.dash-hub-body .dash-card-empty__body strong {
    font-size: 14px;
}

.dash-hub-body .dash-card-empty__body span {
    font-size: 13px;
    max-width: 240px;
}

.dash-hub-body--fit,
.dash-hub-body--funnel,
.dash-hub-body--actions,
.dash-hub-body--chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.dash-section .dash-card-empty {
    margin-top: 4px;
    padding: 36px 24px;
    background: #fafbfd;
    border: 1px dashed #e2e8f0;
    border-radius: 14px;
    min-height: 160px;
}

.dash-card-empty--blue { --dash-empty-accent: #0368ff; --dash-empty-bg: #eff6ff; }
.dash-card-empty--purple { --dash-empty-accent: #7c3aed; --dash-empty-bg: #f5f3ff; }
.dash-card-empty--amber { --dash-empty-accent: #d97706; --dash-empty-bg: #fffbeb; }
.dash-card-empty--green { --dash-empty-accent: #059669; --dash-empty-bg: #ecfdf5; }

.dash-card-empty__illus {
    color: var(--dash-empty-accent, #0368ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-card-empty__svg {
    width: 100px;
    height: auto;
    display: block;
}

.dash-card-empty__svg--icon {
    width: 56px;
    height: 56px;
}

.dash-card-empty__funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100px;
}

.dash-card-empty__funnel span {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--dash-empty-accent), var(--dash-empty-bg));
    opacity: 0.4;
    border: none;
}

.dash-card-empty__bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 56px;
    width: 110px;
    padding: 0 4px;
}

.dash-card-empty__bars span {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--dash-empty-accent) 0%, var(--dash-empty-bg) 100%);
    opacity: 0.45;
}

.dash-card-empty__job {
    width: 100px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.dash-card-empty__job-line {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #f1f5f9;
    margin-bottom: 6px;
}

.dash-card-empty__job-line--lg { width: 70%; }

.dash-card-empty__job-pills {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.dash-card-empty__job-pills i {
    flex: 1;
    height: 14px;
    border-radius: 4px;
    background: var(--dash-empty-bg);
    font-style: normal;
}

.dash-card-empty__body strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.dash-card-empty__body span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    max-width: 280px;
    margin: 0 auto;
}

.dash-card-empty__cta {
    display: inline-flex;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dash-empty-accent, #0368ff);
    text-decoration: none;
}

.dash-card-empty__cta:hover {
    text-decoration: underline;
}

.dash-hub-body--chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Gauge — Qualidade IA */
.dash-hub-card--fit .dash-hub-gauge-wrap {
    padding: 16px 0;
}

.dash-hub-gauge-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0 16px;
    gap: 4px;
}

.dash-hub-gauge-svg {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.dash-hub-gauge-fill {
    transition: none;
}

.dash-hub-gauge-fill.is-animating {
    transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-hub-gauge-label {
    font-size: 15px;
    font-weight: 700;
    margin-top: 0;
}

.dash-hub-gauge-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 0;
}

.dash-hub-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

.dash-hub-fit-tile {
    border: 1px solid;
    border-radius: 12px;
    padding: 14px 14px 12px;
    min-width: 0;
}

.dash-fit-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.dash-fit-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: inherit;
}

.dash-fit-tile-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.dash-hub-fit-tile strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dash-fit-tile-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
    margin-bottom: 6px;
}

.dash-fit-tile-pct {
    display: block;
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Funil — stepper / timeline */
.dash-hub-card--funnel {
    min-height: 400px;
}

.dash-funnel-legend {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
    flex-shrink: 0;
}

.dash-funnel-legend-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    position: relative;
}

.dash-funnel-legend-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0368ff;
}

.dash-funnel-stepper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.dash-funnel-steps {
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dash-funnel-step {
    flex: 1 1 0;
    min-width: 88px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.dash-funnel-step-track {
    display: flex;
    align-items: center;
    width: 100%;
}

.dash-funnel-line {
    flex: 1;
    height: 2px;
    min-width: 4px;
    border-radius: 1px;
    background: #dbeafe;
}

.dash-funnel-step:first-child .dash-funnel-line--left {
    visibility: hidden;
}

.dash-funnel-step:last-child .dash-funnel-line--right {
    visibility: hidden;
}

.dash-funnel-node {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.dash-funnel-step-content {
    margin-top: 12px;
    padding: 0 6px;
    text-align: center;
    min-width: 0;
}

.dash-funnel-step-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    word-break: break-word;
    hyphens: auto;
}

.dash-funnel-step-metric {
    margin-top: 8px;
}

.dash-funnel-step-metric strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.dash-funnel-step-metric em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.dash-hub-foot {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.dash-hub-foot strong {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

/* Ação necessária — lista pendências */
.dash-pending-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}

.dash-pending-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    flex-shrink: 0;
}

.dash-pending-item:hover {
    background: #f8fafc;
    color: inherit;
}

a.dash-pending-item:hover {
    background: #f1f5f9;
}

.dash-pending-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-pending-icon--blue { background: #eff6ff; color: #2563eb; }
.dash-pending-icon--teal { background: #ecfdf5; color: #059669; }
.dash-pending-icon--amber { background: #fffbeb; color: #d97706; }
.dash-pending-icon--slate { background: #f1f5f9; color: #64748b; }

.dash-pending-info {
    flex: 1;
    min-width: 0;
}

.dash-pending-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-pending-info span {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.dash-pending-num {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.dash-pending-badge {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-pending-badge--warn {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.dash-pending-badge--danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.dash-pending-action {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eff6ff;
    color: #0368ff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.dash-pending-item:hover .dash-pending-action { opacity: 1; }

/* Ação necessária */
.dash-action-premium {
    gap: 0;
}

.dash-hub-card--actions .dash-hub-body--actions {
    gap: 16px;
}

.dash-action-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.dash-action-kpi {
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dash-action-kpi:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    color: inherit;
}

.dash-action-kpi strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dash-action-kpi span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-action-kpi--blue strong { color: #0368ff; }
.dash-action-kpi--blue { border-top: 3px solid #0368ff; }
.dash-action-kpi--sky strong { color: #0368ff; }
.dash-action-kpi--sky { border-top: 3px solid #60a5fa; background: #f8fbff; }
.dash-action-kpi--teal strong { color: #0368ff; }
.dash-action-kpi--teal { border-top: 3px solid #60a5fa; background: #f8fbff; }
.dash-action-kpi--amber strong { color: #d97706; }
.dash-action-kpi--amber { border-top: 3px solid #d97706; }

.dash-hub-card--actions {
    min-height: 400px;
}

.dash-action-section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-action-section-label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.dash-action-vagas {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
}

.dash-action-vaga {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #fafbfc;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.dash-action-vaga:hover {
    background: #fff;
    border-color: #dbeafe;
    color: inherit;
}

.dash-action-vaga-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-action-vaga-meta {
    font-size: 12px;
    color: #64748b;
    flex-shrink: 0;
}

.dash-action-tag {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 20px;
}

.dash-action-tag--warn {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.dash-action-tag--danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.dash-action-vaga-arrow {
    color: #94a3b8;
    flex-shrink: 0;
}

.dash-action-vaga:hover .dash-action-vaga-arrow { color: #0368ff; }

.dash-action-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    gap: 8px;
}

.dash-action-empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0368ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.dash-action-empty strong {
    font-size: 15px;
    color: #0f172a;
}

.dash-action-empty span {
    font-size: 13px;
    color: #64748b;
}

/* Ranking premium — top 3 vagas */
.dash-ranking-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
    padding: 4px 0 8px;
}

.dash-rank-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.dash-rank-row:hover {
    background: #fff;
    border-color: #dbeafe;
    box-shadow: 0 4px 14px rgba(3, 104, 255, 0.08);
    color: inherit;
}

.dash-rank-pos {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: #0368ff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-rank-row:nth-child(1) .dash-rank-pos {
    background: #0368ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(3, 104, 255, 0.28);
}

.dash-rank-row:nth-child(2) .dash-rank-pos {
    background: #dbeafe;
    color: #0368ff;
}

.dash-rank-row:nth-child(3) .dash-rank-pos {
    background: #eff6ff;
    color: #3b82f6;
}

.dash-rank-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-rank-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dash-rank-bar-wrap {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.dash-rank-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #0368ff;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-rank-count {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    line-height: 1;
}

.dash-rank-count small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
    text-align: right;
}

.dash-hub-card--chart.dash-hub-card--ranking {
    min-height: 340px;
}

.dash-ranking-canvas {
    min-height: auto;
    flex: 1;
}

.dash-action-empty strong {
    font-size: 14px;
    color: #0f172a;
}

.dash-action-empty span {
    font-size: 12px;
    color: #64748b;
}

#vagasMaisCandidatos .apexcharts-bar-area {
    cursor: pointer;
}

@media (max-width: 1550px) {
    .dash-page .dash-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 1400px) {
    .dash-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dash-vagas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .dash-insights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dash-hub-card {
        min-height: auto;
    }

    .dash-hub-select {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .dash-insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.app-auth section.content.dash-page {
        margin-left: 0;
        width: 100%;
        padding-left: var(--app-content-padding-x);
        padding-right: var(--app-content-padding-x);
    }

    .dash-page .dash-container {
        padding-left: 0;
        padding-right: 0;
    }

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

    .dash-vagas-grid,
    .dash-charts-grid {
        grid-template-columns: 1fr;
    }

    .dash-hub-head--split {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-hub-gauge-svg {
        max-width: 180px;
    }

    .dash-funnel-step {
        min-width: 76px;
    }

    .dash-funnel-step-metric strong {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .dash-stats-grid {
        grid-template-columns: 1fr;
    }
}

.dash-onboarding-wrap:empty {
    display: none;
}

.dash-onboarding-wrap .dash-onboarding {
    margin-bottom: 20px;
}

/* ===== Empty state pós-onboarding ===== */

.dash-body--empty {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dash-stats-grid--muted .hubfi-stat-card {
    opacity: 1;
}

.dash-stats-grid--muted .hubfi-stat-card--empty {
    background: #fafbfd;
    box-shadow: 0 1px 2px rgba(15, 18, 25, 0.03), 0 0 0 1px #e8edf4;
    border: 1px solid #e8edf4;
}

.hubfi-stat-card--empty {
    min-height: 148px;
    border: 1px solid #e8edf4;
    box-shadow: 0 1px 2px rgba(15, 18, 25, 0.03), 0 0 0 1px #e8edf4;
}

.hubfi-stat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 0 4px;
    min-height: 88px;
}

.hubfi-stat-empty__value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #cbd5e1;
    letter-spacing: -0.02em;
}

.hubfi-stat-empty__msg {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
    font-weight: 500;
}

.hubfi-stat-empty__link {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0368ff;
    text-decoration: none;
}

.hubfi-stat-empty__link:hover {
    text-decoration: underline;
}

.dash-page--empty .dash-section.vagas-recentes {
    margin-top: 0;
}

.dash-page--empty .dash-section .dash-card-empty {
    min-height: 140px;
}

.dash-page--empty .dash-hub-card {
    min-height: 320px;
}

.dash-page--empty .dash-hub-card .dash-card-empty {
    opacity: 1;
    visibility: visible;
    min-height: 220px;
}

.dash-page--empty .dash-hub-body .dash-card-empty__illus {
    color: var(--dash-empty-accent, #0368ff);
}

.dash-page--empty .dash-insights-band,
.dash-page--empty .dash-charts-band {
    width: 100%;
    margin-top: 0;
}

.dash-stats-grid--muted .hubfi-stat-num {
    color: #94a3b8;
}

.dash-empty-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    float: none;
    width: 100%;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.dash-empty-hero__top {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 28px;
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eff6ff 100%);
    border-bottom: 1px solid #e8edf4;
}

.dash-empty-hero__intro {
    min-width: 0;
}

.dash-empty-hero__status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.dash-empty-hero__status-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-empty-hero.dash-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
}

.dash-empty-hero__badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0368ff;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.dash-empty-hero__status-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.dash-empty-hero__status-meta {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.dash-empty-hero__headline {
    margin-bottom: 10px;
}

.dash-empty-hero__greeting {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.01em;
}

.dash-empty-hero__headline h2 {
    margin: 0;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    float: none;
    width: auto;
}

.dash-empty-hero__desc {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #64748b;
    max-width: 520px;
    float: none;
}

.dash-empty-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-empty-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-empty-hero__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #0368ff 0%, #0254d4 100%);
    box-shadow: 0 4px 14px rgba(3, 104, 255, 0.25);
}

.dash-empty-hero__btn--primary:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(3, 104, 255, 0.32);
}

.dash-empty-hero__btn--ghost {
    color: #0368ff;
    background: #fff;
    border: 1px solid #dbe4f1;
}

.dash-empty-hero__btn--ghost:hover {
    background: #f8fafc;
    color: #0368ff;
}

.dash-empty-hero__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dash-empty-hero__foot {
    padding: 18px 28px 22px;
    background: #fafbfd;
}

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

.dash-empty-hero__foot-head strong {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.dash-empty-hero__foot-head span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.dash-empty-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-empty-step:hover {
    border-color: #bfdbfe;
    box-shadow: 0 2px 8px rgba(3, 104, 255, 0.08);
}

.dash-empty-step.is-done {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.dash-empty-step.is-next {
    border-color: #0368ff;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(3, 104, 255, 0.08);
}

.dash-empty-step__num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-empty-step.is-next .dash-empty-step__num {
    background: #0368ff;
    color: #fff;
}

.dash-empty-step.is-done .dash-empty-step__num {
    background: #ecfdf5;
    color: #059669;
}

.dash-empty-step div,
.dash-empty-step__text {
    flex: 1;
    min-width: 0;
}

.dash-empty-step strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.dash-empty-step span:not(.dash-empty-step__num):not(.dash-empty-step__tag):not(.dash-empty-step__check) {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.dash-empty-step__tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0368ff;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.dash-empty-step__check {
    color: #059669;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.dash-empty-hero__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dash-empty-preview-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.dash-empty-preview-head {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.dash-empty-preview-head span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.dash-empty-preview-head span:first-child { background: #fca5a5; }
.dash-empty-preview-head span:nth-child(2) { background: #fde68a; }
.dash-empty-preview-head span:nth-child(3) { background: #86efac; }

.dash-empty-preview-body {
    padding: 16px 14px;
}

.dash-empty-preview-line {
    height: 8px;
    border-radius: 4px;
    background: #f1f5f9;
    margin-bottom: 8px;
}

.dash-empty-preview-line--lg { width: 75%; }
.dash-empty-preview-line--sm { width: 45%; margin-bottom: 14px; }

.dash-empty-preview-pills {
    display: flex;
    gap: 6px;
}

.dash-empty-preview-pills span {
    height: 22px;
    flex: 1;
    border-radius: 6px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.dash-empty-preview-caption {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 1100px) {
    .dash-empty-hero__top {
        grid-template-columns: 1fr;
    }

    .dash-empty-hero__preview {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 16px;
    }

    .dash-empty-preview-card {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .dash-empty-hero__top {
        padding: 20px 16px 18px;
    }

    .dash-empty-hero__foot {
        padding: 16px;
    }

    .dash-empty-hero__steps {
        grid-template-columns: 1fr;
    }

    .dash-empty-hero__preview {
        display: none;
    }
}

.dash-alerts-wrap {
    margin-bottom: 20px;
    float: none;
    width: 100%;
}

.dash-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
    height: 100%;
}

a.dash-alert:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #bfdbfe;
    color: inherit;
}

.dash-alert-warn { border-left: 4px solid #f59e0b; background: #fffbeb; }
.dash-alert-danger { border-left: 4px solid #ef4444; background: #fef2f2; }
.dash-alert-info { border-left: 4px solid #0368ff; background: #eff6ff; }
.dash-alert-success { border-left: 4px solid #10b981; background: #ecfdf5; }
.dash-alert-neutral { border-left: 4px solid #64748b; background: #f8fafc; }

.dash-alert-icon { font-size: 20px; flex-shrink: 0; }

.dash-alert-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-alert-body strong {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.dash-alert-body small {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

.dash-alert-action {
    font-size: 12px;
    font-weight: 600;
    color: #0368ff;
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-ind-meta {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.dash-onboarding {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.dash-onboarding-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.dash-onboarding-head span {
    font-size: 12px;
    color: #64748b;
}

.dash-onboarding-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.dash-onboarding-fill {
    height: 100%;
    background: linear-gradient(90deg, #0368ff, #00bfa6);
    border-radius: 4px;
    transition: width 0.3s;
}

.dash-onboarding-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dash-onboarding-list li {
    font-size: 12px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-onboarding-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0368ff;
}

.dash-onboarding-list li.done span:last-child {
    color: #64748b;
    text-decoration: line-through;
}

.dash-onboarding-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-onboarding-check.pending {
    background: #f1f5f9;
    color: #94a3b8;
}

.dash-chart-ranking {
    margin-top: 0;
}

.dash-charts-row {
    width: 100%;
    margin-top: 8px;
}

.dash-charts-row .chart {
    height: 100%;
    min-height: 320px;
}

.dash-charts-row #chart-timeline,
.dash-charts-row #vagasMaisCandidatos {
    min-height: 260px;
}

#vagasMaisCandidatos {
    min-height: 260px;
}

/* Ring de conversão (estilo modal revisão) */
.dash-bignumb-ring .dash-ring-mask {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-ring-wrap {
    --progress: 0;
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.dash-ring-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from -90deg, #0066ff 0%, #05c3b1 calc(var(--progress) * 1%), #e2e8f0 calc(var(--progress) * 1%), #e2e8f0 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}

.dash-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.dash-ring-value {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.dash-ring-label {
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.dash-ring-text p {
    margin: 0;
}

/* Candidatos recentes horizontal */
.dash-candidatos-horizontal {
    margin-bottom: 24px;
    width: 100%;
}

.dash-candidatos-horizontal .dash-candidatos-scroll {
    width: 100%;
}

.dash-candidatos-horizontal .header-content {
    margin-bottom: 12px;
}

.dash-candidatos-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dash-candidatos-scroll::-webkit-scrollbar {
    height: 5px;
}

.dash-candidatos-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dash-candidato-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 280px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dash-candidato-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: inherit;
}

.dash-candidato-card figure {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}

.dash-candidato-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-candidato-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-candidato-info strong {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-candidato-info span {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-candidato-arrow {
    flex-shrink: 0;
    opacity: 0.5;
}
