/* ===================================================================
   Uuranalyse — beste uren
   Aparte stylesheet zodat dashboard.css niet verder groeit.
   Alle klassen beginnen met ua- om botsingen uit te sluiten.
   =================================================================== */

.ua-head{display:flex;justify-content:space-between;align-items:flex-start;
  gap:14px;flex-wrap:wrap;margin-bottom:20px}
.ua-title{font-size:20px;margin:0;font-weight:650;letter-spacing:-.02em;color:#202223}
.ua-sub{font-size:12.5px;color:#6d7175;margin:3px 0 0;line-height:1.5}
.ua-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

.ua-card{background:#fff;border-radius:12px;padding:20px;margin-bottom:16px;
  box-shadow:0 .5625rem .625rem -.5rem #00000021,0 -.125rem .25rem #ffffff80,
             0 .125rem .0625rem -.0625rem #0000000d,0 0 0 .0625rem #00000012}
.ua-card h2{font-size:15px;margin:0;font-weight:650;letter-spacing:-.01em;color:#202223}
.ua-card .ua-sub{margin-bottom:18px}

.ua-chart-head{display:flex;justify-content:space-between;align-items:baseline;
  gap:12px;flex-wrap:wrap;margin-bottom:2px}
.ua-avg{font-size:12px;color:#6d7175;white-space:nowrap}
.ua-avg b{color:#202223;font-variant-numeric:tabular-nums}

/* ---- tabel ---- */
.ua-table{width:100%;border-collapse:collapse;font-size:13px}
.ua-table th{text-align:right;font-weight:600;font-size:11px;text-transform:uppercase;
  letter-spacing:.04em;color:#6d7175;padding:0 10px 10px;
  border-bottom:1px solid #e1e3e5;white-space:nowrap}
.ua-table th:first-child,.ua-table th:nth-child(2){text-align:left}
.ua-table td{padding:11px 10px;text-align:right;border-bottom:1px solid #f1f2f3;
  font-variant-numeric:tabular-nums;color:#202223}
.ua-table td:first-child,.ua-table td:nth-child(2){text-align:left}
.ua-table tbody tr:last-child td{border-bottom:none}
/* Drie tinten groen: hoe donkerder, hoe efficiënter het blok. */
.ua-table tr.ua-r1 td{background:#d7ede2}
.ua-table tr.ua-r2 td{background:#e6f2ec}
.ua-table tr.ua-r3 td{background:#f1f8f5}
.ua-table tr.ua-r1 td:first-child,
.ua-table tr.ua-r2 td:first-child,
.ua-table tr.ua-r3 td:first-child{font-weight:650}
.ua-tm{font-weight:600;white-space:nowrap}
.ua-tm-alt{color:#6d7175;font-weight:400;white-space:nowrap}

.ua-pill{display:inline-block;min-width:38px;padding:3px 9px;border-radius:20px;
  font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
.ua-pill.up{background:#e3f2ea;color:#006c4d}
.ua-pill.mid{background:#f1f2f3;color:#5c5f62}
.ua-pill.down{background:#fdeceb;color:#b32318}
.ua-pill.na{background:transparent;color:#a4a7aa;font-weight:400}

/* ---- grafieken ---- */
.ua-chart{position:relative;height:200px}
.ua-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11.5px;color:#6d7175;margin:12px 0 10px}
.ua-legend span{display:flex;align-items:center;gap:6px}
.ua-legend i{width:10px;height:10px;border-radius:2px;display:block}
.ua-legend i.dash{width:14px;height:0;border-top:2px dashed #b5b8ba;border-radius:0}

/* ---- trechter ---- */
.ua-grid12{display:grid;grid-template-columns:repeat(12,1fr);gap:5px}
.ua-fcol{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;cursor:default}
.ua-fseg{border-radius:3px;min-height:2px;transition:opacity .15s}
.ua-fcol:hover .ua-fseg{opacity:.78}
.ua-flbl{font-size:9.5px;color:#6d7175;text-align:center;margin-top:7px;
  font-variant-numeric:tabular-nums;font-weight:600}
.ua-faxis{border-top:1px solid #e1e3e5}

/* ---- meldingen ---- */
.ua-note{display:flex;gap:10px;padding:12px 14px;border-radius:10px;background:#fff8e8;
  border:1px solid #e8d9a8;font-size:12.5px;color:#5c4813;line-height:1.55;margin-bottom:16px}
.ua-note b{color:#3d2f08}
.ua-note.info{background:#f2f7fe;border-color:#c5d9f5;color:#1c3c66}
.ua-note.info b{color:#0f2847}
.ua-note.err{background:#fdf3f3;border-color:#e8bcbc;color:#8a2a1a}
.ua-note.err b{color:#5e1a10}

.ua-empty{text-align:center;padding:52px 20px;color:#6d7175;font-size:13px;line-height:1.6}
.ua-empty b{display:block;color:#202223;font-size:14px;margin-bottom:6px}
.ua-skel{background:linear-gradient(90deg,#f1f2f3 25%,#e7e9ea 37%,#f1f2f3 63%);
  background-size:400% 100%;animation:ua-sh 1.3s ease infinite;border-radius:8px}
@keyframes ua-sh{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ---- datumkiezer ---- */
.ua-dp{position:relative}
.ua-dp-pop{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border-radius:12px;
  box-shadow:0 .5625rem .625rem -.5rem #00000021,0 0 0 .0625rem #00000012;
  padding:14px;width:290px;z-index:200;display:none}
.ua-dp-pop.open{display:block}
.ua-dp-quick{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.ua-dp-quick button{border:1px solid #e1e3e5;background:#fff;border-radius:20px;
  padding:5px 11px;font-size:11.5px;cursor:pointer;font-family:inherit;color:#303030}
.ua-dp-quick button:hover{background:#f7f7f7}
.ua-dp-row{display:flex;gap:8px;margin-bottom:12px}
.ua-dp-row label{flex:1;font-size:11px;color:#6d7175;font-weight:600;
  text-transform:uppercase;letter-spacing:.04em}
.ua-dp-row input{width:100%;margin-top:5px;border:1px solid #c9cccf;border-radius:8px;
  padding:7px 8px;font-size:13px;font-family:inherit;color:#202223}
.ua-dp-act{display:flex;justify-content:flex-end;gap:8px;
  border-top:1px solid #e1e3e5;padding-top:11px}

@media(max-width:700px){
  .ua-card{padding:15px}
  .ua-table th,.ua-table td{padding-left:6px;padding-right:6px;font-size:11.5px}
  .ua-grid12{gap:3px}
}
