/* Center napak: uporablja osnovne barve in komponente aplikacije. */
.err-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}
.err-stat{border:1px solid #dee5ef;border-radius:15px;padding:19px 21px;background:#fff;display:flex;flex-direction:column;gap:7px;box-shadow:0 5px 18px rgba(30,50,70,.025)}
.err-stat small{color:#64748b;font-weight:700;font-size:.78rem}
.err-stat strong{font-size:2rem;line-height:1.2;color:#12203b}
.err-stat-active strong{color:#be123c}
.err-stat-resolved strong{color:#047857}
.err-preview>h3{margin:15px 0}
.err-list{display:flex;flex-direction:column;gap:9px}
.err-item{display:flex;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;text-decoration:none;color:inherit}
.err-item:hover{border-color:#93c5fd;background:#f8fbff}
.err-item-main{min-width:0;display:flex;flex-direction:column;gap:6px}
.err-item-main strong{overflow-wrap:anywhere}
.err-item-main small,.err-repeat,.err-table small{display:block;color:#64748b;font-size:.78rem;overflow-wrap:anywhere}
.err-item>span:last-child{text-align:right;flex-shrink:0}
.err-state{display:inline-block;border-radius:99px;padding:5px 11px;font-size:.73rem;font-weight:800;white-space:nowrap}
.err-state-ACTIVE{background:#ffe4e6;color:#9f1239}
.err-state-RESOLVED_AUTO{background:#dbeafe;color:#1e40af}
.err-state-RESOLVED_MANUAL{background:#dcfce7;color:#166534}
.err-repeat{margin-top:6px}
.err-filters{display:flex;align-items:end;gap:12px;margin:17px 0 22px;flex-wrap:wrap}
.err-filters label{display:flex;flex-direction:column;gap:6px;flex:1 1 170px;font-weight:700;font-size:.82rem}
.err-filters input,.err-filters select{width:100%;min-height:42px}
.err-filters button{min-height:42px}
.err-table td,.err-table th{vertical-align:middle}
.err-table td:nth-child(2){min-width:230px;max-width:440px;overflow-wrap:anywhere}
.err-table td:nth-child(2) small{margin-top:7px}
.err-pages{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}
.err-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:23px 0}
.err-facts>div{background:#f8fafc;border:1px solid #e2e8f0;padding:14px;border-radius:11px;min-width:0}
.err-facts small{display:block;color:#64748b;margin-bottom:6px}
.err-facts strong{font-size:.9rem;overflow-wrap:anywhere}
.err-occurrence{border:1px solid #e2e8f0;border-radius:12px;margin:12px 0;background:white;overflow:hidden}
.err-occurrence>summary{padding:15px 17px;cursor:pointer;font-size:.91rem}
.err-occurrence[open]>summary{border-bottom:1px solid #e2e8f0;background:#f8fafc}
.err-occurrence-body{padding:13px 18px 22px}
.err-trail{padding-left:22px;margin:10px 0 20px}
.err-trail li{margin-bottom:9px;overflow-wrap:anywhere}
.err-trail small{color:#64748b}
.err-stack{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;color:#f1f5f9;padding:15px;border-radius:10px;font-size:.78rem}
.error-bell{position:relative;display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:.77rem;font-weight:700;color:#334155;padding:8px 10px;background:#f1f5f9;border-radius:10px}
.error-bell:hover{background:#e2e8f0}
.error-bell-count{background:#be123c;color:#fff;padding:2px 6px;font-size:.7rem;border-radius:99px;min-width:20px;text-align:center}
.error-bell-count[hidden]{display:none}
.error-toast{position:fixed;right:23px;bottom:24px;z-index:9999;width:min(370px,calc(100vw - 34px));border:1px solid #fecdd3;border-left:5px solid #e11d48;border-radius:14px;padding:15px 17px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.19);display:flex;justify-content:space-between;gap:12px}
.error-toast strong,.error-toast a{display:block}
.error-toast small{color:#64748b;display:block;margin:6px 0}
.error-toast button{align-self:start;min-width:34px;padding:4px}
@media(max-width:760px){.err-stats{grid-template-columns:1fr;gap:8px}.err-stat{padding:12px 16px}.err-stat strong{font-size:1.55rem}.err-item{flex-direction:column}.err-item>span:last-child{text-align:left}.err-facts{grid-template-columns:1fr 1fr}.err-filters{flex-direction:column;align-items:stretch}.err-filters label{flex:auto}}
@media(max-width:450px){.err-facts{grid-template-columns:1fr}.error-bell{font-size:0;padding:10px}.error-bell-count{font-size:.7rem}}
