/* „Aerul și zgomotul de pe strada ta”: /utile/aer-si-zgomot (views/utile/aer-si-zgomot.ejs) și paginile pe orașe
   (views/aer-zgomot/oras.ejs). Instrumentul: views/partials/aer-zgomot-tool.ejs, public/js/aer-zgomot.js. */
.az-content { padding-bottom: 32px; }
.az-p { color: var(--ut-text); line-height: 1.65; margin: 0 0 12px; max-width: 78ch; }
.az-p a, .az-note a { color: var(--ut-primary-700); font-weight: 650; }
.az-note { font-size: .82rem; color: var(--ut-muted); line-height: 1.5; margin: 10px 0 0; max-width: 80ch; }

/* căutarea și harta */
.az-form { background: #fff; border: 1px solid var(--ut-line); border-radius: 16px; padding: 14px; }
.az-form label { display: block; font-size: .8rem; font-weight: 650; color: #374151; margin-bottom: 4px; }
.az-row { display: flex; gap: 8px; }
.az-row input { flex: 1; min-width: 0; border: 1px solid #d1d5db; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 1rem; }
.az-row input:focus { outline: 2px solid var(--ut-primary-100); border-color: var(--ut-primary); }
.az-go { flex: none; min-height: 44px; }
.az-hint { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: .84rem; color: var(--ut-text); }
.az-hint .ut-icon { width: 15px; height: 15px; color: #ea580c; flex: none; }
.az-map { height: 420px; margin-top: 12px; border-radius: 16px; border: 1px solid var(--ut-line); overflow: hidden; background: #e5e7eb; isolation: isolate; z-index: 0; }
.az-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .78rem; color: var(--ut-muted); }
.az-legend li { display: inline-flex; align-items: center; gap: 6px; }
.az-legend i { width: 14px; height: 10px; border-radius: 3px; }
.az-legend .az-legend__st { width: 12px; height: 12px; border-radius: 50%; background: #1d4ed8; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15, 23, 42, .25); }
.az-pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: #ea580c; transform: rotate(-45deg); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0, 0, 0, .35); }

/* rezultatul */
.az-result { margin-top: 14px; }
.az-result:empty { display: none; }
.az-wait, .az-where { margin: 0 0 10px; font-size: .86rem; color: var(--ut-muted); }
.az-grid { display: grid; gap: 12px; }
.az-card { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ut-line); min-width: 0; }
.az-card h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 800; color: var(--ut-ink); }
.az-card p { margin: 0 0 8px; color: var(--ut-text); line-height: 1.5; font-size: .92rem; }
.az-big { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.5rem !important; font-weight: 800; color: var(--ut-ink) !important; }
.az-big small, .az-mid small { font-size: .8rem; font-weight: 600; color: var(--ut-muted); }
.az-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15, 23, 42, .2); }
.az-src { margin: 0 0 8px; padding-left: 18px; color: var(--ut-text); font-size: .9rem; }
.az-who { font-size: .84rem !important; color: var(--ut-muted) !important; }
.az-st { padding: 10px 0; border-top: 1px dashed var(--ut-line); }
.az-st:first-of-type { border-top: 0; padding-top: 0; }
.az-st__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.az-st__h strong { color: var(--ut-ink); }
.az-st__h span { font-size: .84rem; color: var(--ut-text); flex: 1 1 160px; }
.az-st__h em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ut-muted); }
.az-st__y { margin: 4px 0 6px !important; font-size: .76rem !important; color: var(--ut-muted) !important; }
.az-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.az-chips li { padding: 6px 10px; border-radius: 10px; font-size: .9rem; color: var(--ut-ink); }
.az-chips li small { color: var(--ut-text); font-size: .76rem; }
.az-chips .is-good, .az-v.is-good { background: #dcfce7; }
.az-chips .is-ok, .az-v.is-ok { background: #ecfccb; }
.az-chips .is-warn, .az-v.is-warn { background: #fef3c7; }
.az-chips .is-bad, .az-v.is-bad { background: #fee2e2; }
.az-days, .az-far { font-size: .82rem !important; margin-top: 6px !important; }
.az-far { color: #92400e !important; }
.az-live { font-size: .82rem !important; margin-top: 8px !important; }
.az-live a, .az-links a { color: var(--ut-primary-700); font-weight: 700; }
.az-links { margin: 12px 0 0; }

/* tabelele și barele */
.az-tablewrap { overflow-x: auto; border: 1px solid var(--ut-line); border-radius: 14px; background: #fff; }
.az-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.az-table th, .az-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--ut-line-soft); vertical-align: top; }
.az-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ut-muted); background: var(--ut-line-soft); white-space: nowrap; }
.az-table tbody th { font-weight: 600; color: var(--ut-ink); }
.az-table tbody th small { display: block; font-size: .76rem; font-weight: 500; color: var(--ut-muted); line-height: 1.4; }
.az-table td small { display: block; font-size: .7rem; color: var(--ut-muted); }
.az-table a { color: var(--ut-primary-700); font-weight: 700; text-decoration: none; }
.az-v { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 8px; font-weight: 800; text-align: center; color: var(--ut-ink); font-variant-numeric: tabular-nums; }
.az-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .78rem; color: var(--ut-muted); }
.az-keys .az-v { min-width: 0; color: transparent; padding: 0 7px; margin-right: 4px; }
.az-bars { display: grid; gap: 6px; margin: 6px 0 0; max-width: 680px; }
.az-bar { display: grid; grid-template-columns: 120px 1fr 90px; align-items: center; gap: 10px; font-size: .86rem; color: var(--ut-text); }
.az-bar i { display: block; height: 14px; border-radius: 4px; min-width: 2px; }
.az-bar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ut-ink); }
.az-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.az-cities a { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ut-line); color: var(--ut-ink); font-weight: 650; font-size: .88rem; text-decoration: none; }
.az-cities a:hover { border-color: var(--ut-primary); color: var(--ut-primary-700); }

@media (min-width: 900px) { .az-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .az-map { height: 340px; }
  .az-row { flex-direction: column; }
  .az-table { font-size: .84rem; }
  .az-table th, .az-table td { padding: 9px 8px; }
  .az-bar { grid-template-columns: 92px 1fr 70px; font-size: .8rem; }
}
@media (max-width: 639px) { #aer .az-table tbody th { min-width: 150px; } }
