/* pg-abandon.css — doar în .pg-abandon. Folosește numai variabilele din uefiscdi.css și datahub.css. */

/* NEW COMPONENT: umpleri SVG pe scala secvențială (durata până la absolvire), fără coduri de culoare în script */
.pg-abandon .is-q1 { fill: var(--q1); }
.pg-abandon .is-q3 { fill: var(--q3); }
.pg-abandon .is-q5 { fill: var(--q5); }
.pg-abandon .is-q6 { fill: var(--q6); }
.pg-abandon .dh-val.is-on-dark { fill: var(--white); }

/* NEW COMPONENT: linie punctată (rata fără universitățile semnalate) și cheia ei din legendă */
.pg-abandon .pg-abandon__dashline { stroke-dasharray: 6 4; }
.pg-abandon .dh-key--line.pg-abandon__dash { height: 0; background: none; border-top: 3px dashed var(--k); }

/* NEW COMPONENT: tabel colorat (evoluție pe categorii; profil de liceu × domeniu) */
.pg-abandon .pg-abandon__heat { min-width: 0; font-size: 15px; }
.pg-abandon .pg-abandon__heat th { font-size: 13px; padding: 8px 10px; vertical-align: bottom; }
.pg-abandon .pg-abandon__heat tbody th { vertical-align: middle; min-width: 120px; }
.pg-abandon .pg-abandon__heat td { font-variant-numeric: tabular-nums; padding: 8px 10px; vertical-align: middle; }
.pg-abandon .pg-abandon__heat td.is-bgq1 { background: var(--q1); color: var(--navy); }
.pg-abandon .pg-abandon__heat td.is-bgq3 { background: var(--q3); color: var(--white); }
.pg-abandon .pg-abandon__heat td.is-bgq4 { background: var(--q4); color: var(--white); }
.pg-abandon .pg-abandon__heat td.is-bgq5 { background: var(--q5); color: var(--white); }
.pg-abandon .pg-abandon__heat td.is-bgq6 { background: var(--q6); color: var(--white); }
.pg-abandon .pg-abandon__heat td.is-small { font-size: 13px; }
.pg-abandon .pg-abandon__heat td[data-tip]:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.pg-abandon .dh-scale__bar .pg-abandon__q1 { background: var(--q1); }
.pg-abandon .dh-scale__bar .pg-abandon__q3 { background: var(--q3); }
.pg-abandon .dh-scale__bar .pg-abandon__q4 { background: var(--q4); }
.pg-abandon .dh-scale__bar .pg-abandon__q5 { background: var(--q5); }
.pg-abandon .dh-scale__bar .pg-abandon__q6 { background: var(--q6); }

/* grafice: elemente cu tooltip, etichete îngroșate, rânduri de total */
.pg-abandon .dh-chart__plot [data-tip] { cursor: default; }
.pg-abandon .dh-chart__plot svg [tabindex]:focus-visible { outline: none; }
.pg-abandon .dh-chart__plot svg g[tabindex]:focus-visible .dh-hit,
.pg-abandon .dh-chart__plot svg rect.dh-hit:focus-visible { fill: var(--tint); }
.pg-abandon .dh-chart__plot svg text.is-strong { font-weight: 700; fill: var(--t1); }
.pg-abandon .u-table tr.is-total td,
.pg-abandon .u-table tr.is-total th { font-weight: 600; background: var(--ground); }

/* aranjare: cardurile puse alături nu se întind pe înălțime; cei 6 indicatori pe trei coloane */
.pg-abandon .dh-charts { align-items: start; }
.pg-abandon .pg-abandon__kpi6 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.pg-abandon .pg-abandon__controls .u-field { max-width: 300px; }
/* comutatorul de vedere din cardurile pe categorii (o vedere pe rând), la mărimea controalelor din kit */
.pg-abandon .pg-abandon__view .u-btn { min-height: 40px; padding: 7px 14px; font-size: 14px; }
.pg-abandon .pg-abandon__search { max-width: 420px; }
