/* =====================================================================
   Emprega+ Editais — Design System (biblioteca de classes .eds-*)
   ---------------------------------------------------------------------
   Versao: 1.0 — 2026-06-06
   Doc canonico: docs/design-system/editais-ds.md (LEIA antes de usar)
   Aplica-se a: app.empregamais.me/concursos/* (area da organizadora +
                pagina publica do edital).

   REGRA DE USO
   - OPT-IN: este arquivo NAO esta incluido em nenhum layout. Views novas
     adicionam-no explicitamente:
         @push('style') <link rel="stylesheet" href="{{ asset('site/css/editais-ds.css') }}"> @endpush
     (note: @push('style') no SINGULAR — plural 'styles' nunca renderiza).
   - Toda regra vive sob .eds-* (escopo). NUNCA edite seletores globais
     (.card, .table, .btn) — vaza para Bootstrap/AdminLTE e quebra Vagas/Saude.
   - Reskin nunca altera name/id/action de form. Para foco de input, use o
     wrapper .eds-control (focus-within) — sem trocar a classe do input.

   PROIBICAO
   - NAO use custom properties var(--*): nao aplicam no ambiente servido.
     Todo valor aqui e LITERAL (hex/rgba/px), por design.
   ===================================================================== */

/* =========================== PAGE / CONTAINER ======================== */
.eds-page {
    /* width:100% + max-width garante centro mesmo se o ancestral for
       flex/grid (margin:auto so centraliza com largura definida).
       box-sizing impede o padding lateral de somar aos 1180 e estourar.
       min-width:0 evita que um filho intrinsecamente largo (tabela com
       white-space:nowrap, <pre>, imagem) empurre a pagina pra esquerda. */
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    margin: 0 auto 90px;
    padding: 18px 14px 0;
    color: #1e2433;
}
/* Conteudo largo (tabelas, blocos com nowrap) nunca arrasta a pagina:
   ele rola/contem dentro do proprio wrapper, preservando a centralizacao. */
.eds-page > * { min-width: 0; max-width: 100%; }

/* =============================== HERO ============================== */
.eds-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2444 0%, #34427a 100%);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px -12px rgba(49, 46, 129, .22), 0 4px 12px rgba(30, 36, 51, .06);
    color: #fff;
}
.eds-hero__glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(520px 240px at 90% -40%, rgba(255, 255, 255, .26), transparent 60%),
        radial-gradient(360px 220px at 6% 140%, rgba(192, 132, 252, .42), transparent 60%);
}
.eds-hero__row {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
}
.eds-hero__heading { min-width: 0; }
.eds-hero__eyebrow {
    display: inline-block; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255, 255, 255, .78); margin-bottom: 5px;
}
.eds-hero__title { font-size: 1.5rem; font-weight: 800; margin: 0; line-height: 1.15; color: #fff; }
.eds-hero__subtitle { font-size: .85rem; margin: 4px 0 0; color: rgba(255, 255, 255, .72); max-width: 560px; }
.eds-hero__subtitle strong { color: #fff; font-weight: 700; }
.eds-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* status badge dentro do hero (pulse "ao vivo") */
.eds-hero__status {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
    padding: 7px 15px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28);
    white-space: nowrap;
}
.eds-hero__status-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff; animation: eds-pulse 2s infinite;
}
.eds-hero__status--success { background: rgba(16, 185, 129, .95); border-color: rgba(255, 255, 255, .35); }
.eds-hero__status--warning { background: rgba(245, 158, 11, .95); border-color: rgba(255, 255, 255, .35); }
.eds-hero__status--info    { background: rgba(59, 130, 246, .95); border-color: rgba(255, 255, 255, .35); }
.eds-hero__status--neutral { background: rgba(100, 116, 139, .92); border-color: rgba(255, 255, 255, .3); }
.eds-hero__status--neutral .eds-hero__status-pulse,
.eds-hero__status--info .eds-hero__status-pulse { animation: none; }

@keyframes eds-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* hero CTA claro sobre navy */
.eds-hero__cta {
    display: inline-flex; align-items: center; padding: 10px 20px;
    border-radius: 10px; font-size: .85rem; font-weight: 700;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    color: #1c2444;
    background: linear-gradient(135deg, #ffffff 0%, #e9ecfb 100%);
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
    transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s ease, filter .18s ease;
}
.eds-hero__cta:hover {
    color: #1c2444; text-decoration: none; transform: translateY(-2px);
    filter: brightness(1.03); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .45);
}
.eds-hero__cta:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }

/* hero back/secondary */
.eds-hero__back {
    display: inline-flex; align-items: center; padding: 9px 16px;
    border-radius: 10px; font-size: .82rem; font-weight: 700;
    text-decoration: none; color: #fff; white-space: nowrap;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
    transition: background .15s ease;
}
.eds-hero__back:hover { color: #fff; background: rgba(255, 255, 255, .2); text-decoration: none; }

/* =============================== CARD ============================== */
.eds-card {
    background: #ffffff; border: 1px solid #e9ebf3;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(30, 36, 51, .06), 0 1px 2px rgba(30, 36, 51, .04);
    padding: 18px 22px; margin-bottom: 16px;
}
.eds-card--flush { padding: 0; overflow: hidden; }
.eds-card__head {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid #eef0f7;
}
.eds-card__chip {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; border-radius: 9px; flex: none; font-size: .85rem;
    color: #4f46e5; background: rgba(99, 102, 241, .12);
}
.eds-card__chip--bell { color: #b45309; background: rgba(245, 158, 11, .16); }
.eds-card__heading { min-width: 0; }
.eds-card__title { font-size: 1rem; font-weight: 800; margin: 0; color: #1e2433; }
.eds-card__hint { font-size: .78rem; color: #9aa3b5; margin: 3px 0 0; line-height: 1.35; }
.eds-card__body { padding: 18px 20px; }

/* =============================== KPI ============================== */
.eds-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.eds-kpis--3 { grid-template-columns: repeat(3, 1fr); }
.eds-kpi {
    display: flex; align-items: center; gap: 14px;
    background: #ffffff; border: 1px solid #e9ebf3; border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(30, 36, 51, .06), 0 1px 2px rgba(30, 36, 51, .04);
}
.eds-kpi__icon {
    display: inline-grid; place-items: center;
    width: 46px; height: 46px; border-radius: 13px; flex: none; font-size: 1.15rem;
    color: #4f46e5; background: rgba(99, 102, 241, .12);
}
.eds-kpi__icon--success { color: #047857; background: rgba(16, 185, 129, .14); }
.eds-kpi__icon--warning { color: #b45309; background: rgba(245, 158, 11, .16); }
.eds-kpi__icon--violet  { color: #7c3aed; background: rgba(168, 85, 247, .14); }
.eds-kpi__body { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.eds-kpi__value { font-size: 1.5rem; font-weight: 800; color: #1e2433; font-variant-numeric: tabular-nums; }
.eds-kpi__label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: #6b7280; margin-top: 3px;
}

/* ============================== BADGE ============================= */
.eds-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 999px;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; white-space: nowrap;
}
.eds-badge i { font-size: .68rem; }
.eds-badge--success { color: #047857; background: rgba(16, 185, 129, .14); }
.eds-badge--warning { color: #b45309; background: rgba(245, 158, 11, .18); }
.eds-badge--danger  { color: #b91c1c; background: rgba(239, 68, 68, .12); }
.eds-badge--info    { color: #1d4ed8; background: rgba(59, 130, 246, .12); }
.eds-badge--neutral { color: #64748b; background: rgba(100, 116, 139, .12); }

/* =============================== PILL ============================= */
.eds-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; cursor: pointer;
    text-decoration: none; border: 1px solid transparent; line-height: 1; white-space: nowrap;
    transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.eds-pill i { font-size: .72rem; }
.eds-pill:focus { outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
.eds-pill--count { color: #4f46e5; background: rgba(99, 102, 241, .12); }
.eds-pill--count:hover { color: #fff; background: #6366f1; text-decoration: none; }
.eds-pill--muted { color: #6b7280; background: rgba(100, 116, 139, .12); }

/* ============================= BUTTONS ============================ */
.eds-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; cursor: pointer;
    text-decoration: none; border: 1px solid transparent; line-height: 1; white-space: nowrap;
    transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.eds-btn i { font-size: .72rem; }
.eds-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }

.eds-btn--primary {
    color: #fff; border-color: transparent;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px -6px rgba(99, 102, 241, .5);
}
.eds-btn--primary:hover {
    color: #fff; transform: translateY(-2px); text-decoration: none;
    box-shadow: 0 8px 18px -6px rgba(99, 102, 241, .6); filter: brightness(1.03);
}
.eds-btn--soft { color: #4f46e5; background: rgba(99, 102, 241, .12); border-color: rgba(99, 102, 241, .22); }
.eds-btn--soft:hover {
    color: #fff; background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-color: transparent; transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(99, 102, 241, .55); text-decoration: none;
}
.eds-btn--outline { color: #34427a; background: #fff; border-color: #c9cede; }
.eds-btn--outline:hover {
    color: #1c2444; background: #f1f3fb; border-color: #34427a;
    transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(52, 66, 122, .4); text-decoration: none;
}
.eds-btn--export {
    color: #fff; border-color: transparent;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px -4px rgba(5, 150, 105, .5);
}
.eds-btn--export:hover {
    color: #fff; transform: translateY(-2px); filter: brightness(1.04); text-decoration: none;
    box-shadow: 0 8px 18px -6px rgba(5, 150, 105, .55);
}
.eds-btn--export:focus { outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, .3); }
.eds-btn--positive { color: #047857; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .25); }
.eds-btn--positive:hover {
    color: #fff; background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: transparent; transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(16, 185, 129, .5); text-decoration: none;
}
.eds-btn--danger { color: #b91c1c; background: #fff; border-color: #f0c4c4; }
.eds-btn--danger:hover {
    color: #fff; background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent; transform: translateY(-2px);
    box-shadow: 0 6px 14px -6px rgba(220, 38, 38, .5); text-decoration: none;
}

/* toggle de collapse (botao dual-label) */
.eds-btn--toggle {
    display: block; width: 100%; margin-top: 10px; border: 1px dashed #c9cede;
    background: #f6f7fb; color: #34427a; font-weight: 700; font-size: .82rem;
    border-radius: 10px; padding: 9px 14px; cursor: pointer; text-align: center;
    transition: background .15s ease;
}
.eds-btn--toggle:hover { background: #eef0f8; }
.eds-btn--toggle .eds-when-expanded { display: none; }
.eds-btn--toggle.is-open .eds-when-expanded { display: inline; }
.eds-btn--toggle.is-open .eds-when-collapsed { display: none; }

/* =============================== TABLE ============================ */
.eds-table-wrap { border-radius: 16px; overflow-x: auto; }
.eds-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0; }
.eds-table thead th {
    background: #2a2f45; color: #fff; text-align: left;
    padding: 12px 18px; font-weight: 700; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .05em; border: 0; white-space: nowrap;
}
.eds-table thead th.text-right { text-align: right; }
.eds-table thead th.text-center { text-align: center; }
.eds-table td { padding: 14px 18px; border-bottom: 1px solid #e9ebf3; color: #1e2433; vertical-align: middle; }
.eds-table tbody tr:last-child td { border-bottom: 0; }
.eds-table tbody tr:nth-child(even) { background: #fafbfe; }
.eds-table tbody tr { transition: background .15s ease; }
.eds-table tbody tr:hover { background: rgba(99, 102, 241, .07); }
.eds-table-id { font-weight: 700; color: #6b7280; }
.eds-table-name { font-weight: 700; color: #34427a; text-decoration: none; }
.eds-table-name:hover { color: #6366f1; text-decoration: underline; }

/* strip de cabecalho com contagem */
.eds-table-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 22px; border-bottom: 1px solid #e9ebf3;
}
.eds-table-head__label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #6b7280;
}
.eds-table-head__count {
    font-size: .72rem; font-weight: 700; color: #4f46e5;
    background: rgba(99, 102, 241, .12); padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}

/* paginacao server-side (Laravel paginate + withQueryString) */
.eds-pagination-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; padding: 16px 22px; border-top: 1px solid #e9ebf3;
}
.eds-pagination-info { font-size: .8rem; color: #6b7280; }
.eds-pagination .pagination { margin: 0; }
.eds-pagination .page-link { color: #4f46e5; border-radius: 8px; margin: 0 2px; border-color: #e9ebf3; }
.eds-pagination .page-item.active .page-link { background: #6366f1; border-color: #6366f1; color: #fff; }

/* ============================= FILTERS =========================== */
.eds-filters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eds-filters__footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.eds-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eds-field__label {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #6b7280; margin: 0;
}
.eds-field__input {
    width: 100%; padding: 10px 14px; border-radius: 10px;
    border: 1px solid #d7dbe8; font-size: .9rem; color: #1e2433;
    background: #fafbfe; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.eds-field__input::placeholder { color: #9aa3b5; }
.eds-field__input:focus {
    outline: none; border-color: #6366f1; background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .18);
}

/* wrapper de foco — NAO troca a classe do input (regra F) */
.eds-control { position: relative; border-radius: 10px; }
.eds-control .form-control,
.eds-control input,
.eds-control select,
.eds-control textarea {
    background: #fafbfe; border: 1px solid #d7dbe8; border-radius: 10px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.eds-control .form-control:focus,
.eds-control input:focus,
.eds-control select:focus,
.eds-control textarea:focus {
    border-color: #6366f1; background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .18); outline: none;
}
.eds-control .form-control[disabled],
.eds-control .form-control:disabled {
    background: #eef0f7; color: #6b7280; cursor: not-allowed;
}

/* ============================ EMPTY STATE ======================== */
.eds-empty { text-align: center; padding: 48px 24px; }
.eds-empty__chip {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px; border-radius: 18px;
    background: rgba(99, 102, 241, .1); color: #6366f1;
    font-size: 1.6rem; margin-bottom: 16px;
}
.eds-empty__title { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: #1e2433; }
.eds-empty__text { font-size: .88rem; color: #9aa3b5; margin: 0 auto 20px; max-width: 460px; }

/* ============================= TIMELINE ========================== */
.eds-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.eds-timeline::before {
    content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px;
    width: 2px; background: #eef0f7;
}
.eds-timeline__item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 8px 4px; }
.eds-timeline__icon {
    display: inline-grid; place-items: center; position: relative; z-index: 1;
    width: 36px; height: 36px; border-radius: 10px; flex: none; font-size: .82rem;
    box-shadow: 0 0 0 3px #fff;
    color: #4f46e5; background: rgba(99, 102, 241, .12);
}
.eds-timeline__icon--success { color: #047857; background: rgba(16, 185, 129, .14); }
.eds-timeline__icon--warning { color: #b45309; background: rgba(245, 158, 11, .16); }
.eds-timeline__icon--danger  { color: #dc2626; background: rgba(239, 68, 68, .12); }
.eds-timeline__icon--info    { color: #0e7490; background: rgba(6, 182, 212, .14); }
.eds-timeline__content { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; min-width: 0; }
.eds-timeline__title { font-size: .85rem; font-weight: 600; color: #1e2433; line-height: 1.35; }
.eds-timeline__meta { font-size: .72rem; color: #9aa3b5; }

/* ============================= STEPPER =========================== */
.eds-stepper {
    position: relative;
    display: flex; align-items: flex-start; flex-wrap: wrap;
    gap: 2px; margin-top: 24px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.eds-step { display: flex; flex-direction: column; align-items: center; min-width: 84px; text-align: center; }
.eds-step__dot {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700; font-size: .82rem; margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, .45);
    color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1);
    transition: transform .25s ease;
}
.eds-step.is-done .eds-step__dot { background: #fff; color: #1c2444; border-color: #fff; }
.eds-step.is-current .eds-step__dot {
    background: #fff; color: #8b5cf6; border-color: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .28);
    animation: eds-ring 2.2s ease-out infinite;
}
.eds-step.is-future .eds-step__dot { opacity: .7; }
.eds-step__label { font-size: .76rem; line-height: 1.25; max-width: 96px; color: rgba(255, 255, 255, .82); }
.eds-step.is-current .eds-step__label { color: #fff; font-weight: 700; }
.eds-step__date { font-size: .68rem; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.eds-step__line { flex: 1 0 16px; height: 2px; background: rgba(255, 255, 255, .22); margin-top: 17px; min-width: 12px; border-radius: 2px; }
.eds-step__line.is-done { background: rgba(255, 255, 255, .7); }

@keyframes eds-ring {
    0%   { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
}

/* ============================= SAVEBAR =========================== */
.eds-savebar {
    position: sticky; bottom: 0; z-index: 20;
    display: flex; align-items: center; justify-content: flex-end; gap: 12px;
    padding: 14px 20px; margin-top: 8px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid #e9ebf3; border-radius: 16px;
    box-shadow: 0 -6px 20px -12px rgba(30, 36, 51, .25);
}
.eds-savebar__cancel {
    display: inline-flex; align-items: center; padding: 10px 18px;
    border-radius: 10px; font-size: .85rem; font-weight: 700;
    text-decoration: none; color: #34427a; background: #fff;
    border: 1px solid #c9cede; transition: all .18s ease;
}
.eds-savebar__cancel:hover { color: #1c2444; background: #f1f3fb; border-color: #34427a; text-decoration: none; }
.eds-savebar__submit {
    display: inline-flex; align-items: center; padding: 11px 30px;
    border-radius: 10px; font-size: .9rem; font-weight: 800; cursor: pointer;
    color: #fff; border: 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 6px 16px -6px rgba(99, 102, 241, .55);
    transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s ease, filter .18s ease;
}
.eds-savebar__submit:hover {
    transform: translateY(-2px); filter: brightness(1.04);
    box-shadow: 0 10px 22px -8px rgba(99, 102, 241, .65);
}
.eds-savebar__submit:focus { outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, .35); }

/* =========================== COLLAPSE ============================ */
.eds-collapse.is-collapsed { max-height: 430px; overflow: hidden; position: relative; }
.eds-collapse.is-collapsed::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 85%);
    pointer-events: none;
}

/* =========================== FILE INPUT ========================== */
.eds-file input[type="file"] { padding: 8px 10px; height: auto; }
.eds-file input[type="file"]::file-selector-button,
.eds-file input[type="file"]::-webkit-file-upload-button {
    border: 0; cursor: pointer; margin-right: 12px;
    padding: 8px 16px; border-radius: 8px;
    font-size: .82rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transition: filter .18s ease;
}
.eds-file input[type="file"]::file-selector-button:hover,
.eds-file input[type="file"]::-webkit-file-upload-button:hover { filter: brightness(1.06); }

/* ============================== NOTE ============================= */
.eds-note {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(28, 36, 68, .05) 0%, rgba(52, 66, 122, .08) 100%);
    border: 1px solid rgba(52, 66, 122, .16);
    font-size: .84rem; color: #34427a; line-height: 1.5;
}
.eds-note--info { background: rgba(59, 130, 246, .07); border-color: rgba(59, 130, 246, .18); color: #1d4ed8; }
.eds-note__icon { font-size: 1rem; margin-top: 2px; flex: 0 0 auto; }

/* =========================== GRID UTILS ========================== */
.eds-grid { display: grid; gap: 16px; align-items: start; }
.eds-grid--2 { grid-template-columns: repeat(2, 1fr); }
.eds-grid--3 { grid-template-columns: repeat(3, 1fr); }
.eds-grid--4 { grid-template-columns: repeat(4, 1fr); }
.eds-grid--main-side { grid-template-columns: 2fr 1fr; }
.eds-grid--side-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

/* ============================ TOOLBAR ============================ */
.eds-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eds-toolbar__label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #6b7280; white-space: nowrap;
}
.eds-toolbar__links { display: flex; gap: 8px; flex-wrap: wrap; }
.eds-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.eds-actions--end { justify-content: flex-end; }

/* =========================== RESPONSIVE ========================== */
@media (max-width: 1024px) {
    .eds-grid--main-side,
    .eds-grid--side-main { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .eds-kpis,
    .eds-filters__grid,
    .eds-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .eds-hero { padding: 20px 18px; }
    .eds-hero__title { font-size: 1.25rem; }
    .eds-hero__cta { width: 100%; justify-content: center; }
    .eds-hero__actions { width: 100%; }
    .eds-kpis,
    .eds-kpis--3,
    .eds-grid--2,
    .eds-grid--3,
    .eds-grid--4,
    .eds-filters__grid { grid-template-columns: 1fr; }
    .eds-table { font-size: .82rem; }
    .eds-table thead th, .eds-table td { padding: 10px 12px; }
    .eds-actions--end { justify-content: flex-start; }
    .eds-savebar { flex-direction: column-reverse; }
    .eds-savebar__cancel, .eds-savebar__submit { width: 100%; justify-content: center; }
}

/* ========================= REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {
    .eds-page *,
    .eds-hero *,
    .eds-stepper * { transition-duration: .001ms !important; animation: none !important; }
}
