/* eTenderWala live tender widget */
.ewlt{--ew-ink:#13203a;--ew-muted:#5b6b85;--ew-line:#e2e8f0;--ew-brand:#0b4f9e;--ew-brand-dk:#09396f;
 --ew-bg:#fff;--ew-soft:#f6f8fb;--ew-crit:#b4231d;--ew-crit-bg:#fdecea;--ew-urg:#9a5b00;--ew-urg-bg:#fff6e5;
 --ew-ok:#1b6b3a;--ew-ok-bg:#eaf6ee;--ew-radius:12px;
 font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ew-ink);
 max-width:1180px;margin:0 auto;line-height:1.5;-webkit-text-size-adjust:100%}
.ewlt *,.ewlt *::before,.ewlt *::after{box-sizing:border-box}

.ewlt__head{background:linear-gradient(135deg,var(--ew-brand-dk),var(--ew-brand));color:#fff;
 border-radius:var(--ew-radius);padding:22px 20px;margin-bottom:16px}
.ewlt__head h2{margin:0 0 6px;font-size:1.45rem;line-height:1.25}
.ewlt__head p{margin:0;opacity:.92;font-size:.92rem}
.ewlt__kpis{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ewlt__kpi{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);border-radius:999px;
 padding:5px 12px;font-size:.8rem;font-weight:600;white-space:nowrap}

.ewlt__filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:10px;margin-bottom:8px}
.ewlt__filters input,.ewlt__filters select{width:100%;padding:11px 12px;border:1px solid #cfd8e3;
 border-radius:9px;background:var(--ew-bg);font:inherit;font-size:.92rem;color:var(--ew-ink);min-height:44px}
.ewlt__filters input:focus,.ewlt__filters select:focus{outline:2px solid var(--ew-brand);outline-offset:1px;border-color:var(--ew-brand)}
.ewlt__bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:12px 0}
.ewlt__status{font-size:.88rem;color:var(--ew-muted)}
.ewlt__btn{padding:9px 14px;border:1px solid #cfd8e3;background:var(--ew-bg);border-radius:8px;
 cursor:pointer;font:inherit;font-size:.88rem;min-height:40px}
.ewlt__btn:hover:not(:disabled){background:var(--ew-soft)}
.ewlt__btn:disabled{opacity:.45;cursor:default}

.ewlt__card{border:1px solid var(--ew-line);border-left:4px solid var(--ew-line);border-radius:var(--ew-radius);
 padding:15px 16px;margin-bottom:12px;background:var(--ew-bg);box-shadow:0 1px 3px rgba(15,23,42,.05)}
.ewlt__card--critical{border-left-color:var(--ew-crit)}
.ewlt__card--urgent{border-left-color:#d9870a}
.ewlt__card--normal{border-left-color:var(--ew-ok)}
.ewlt__card--closed{border-left-color:#94a3b8;opacity:.72}
.ewlt__top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.ewlt__src{font-size:.72rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase;
 background:#eaf1fb;color:var(--ew-brand-dk);border-radius:6px;padding:4px 8px}
.ewlt__corr{font-size:.72rem;font-weight:700;background:#f3e8ff;color:#6b21a8;border-radius:6px;padding:4px 8px}

/* the countdown badge */
.ewlt__days{font-size:.78rem;font-weight:700;border-radius:999px;padding:4px 11px;white-space:nowrap;
 margin-left:auto;border:1px solid transparent}
.ewlt__days--critical{background:var(--ew-crit-bg);color:var(--ew-crit);border-color:#f5c6c2}
.ewlt__days--urgent{background:var(--ew-urg-bg);color:var(--ew-urg);border-color:#f3dcae}
.ewlt__days--normal{background:var(--ew-ok-bg);color:var(--ew-ok);border-color:#c5e4d0}
.ewlt__days--closed,.ewlt__days--none{background:#eef1f5;color:#53657f;border-color:#dbe2ec}

.ewlt__title{margin:0 0 10px;font-size:1.03rem;line-height:1.4;color:var(--ew-brand-dk);font-weight:650}
.ewlt__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:4px 18px;
 font-size:.87rem;color:var(--ew-muted)}
.ewlt__grid b{color:var(--ew-ink);font-weight:600}
.ewlt__foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.ewlt__link{display:inline-block;background:var(--ew-brand);color:#fff !important;text-decoration:none;
 border-radius:8px;padding:10px 15px;font-size:.87rem;font-weight:600;min-height:40px}
.ewlt__link:hover{background:var(--ew-brand-dk);color:#fff !important}
.ewlt__deadline{font-size:.83rem;color:var(--ew-muted)}

.ewlt__empty,.ewlt__error{padding:34px 20px;text-align:center;border:1px dashed #c9d4e2;
 border-radius:var(--ew-radius);color:var(--ew-muted);background:var(--ew-soft)}
.ewlt__error{border-color:#f0c2be;background:var(--ew-crit-bg);color:#8c1c17}
.ewlt__pager{display:flex;gap:10px;align-items:center;justify-content:center;margin:18px 0;flex-wrap:wrap}
.ewlt__pager span{font-size:.88rem;color:var(--ew-muted)}
.ewlt__note{font-size:.78rem;color:var(--ew-muted);text-align:center;margin-top:14px}
.ewlt__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ewlt__skel{height:112px;border-radius:var(--ew-radius);background:linear-gradient(90deg,#eef2f7 25%,#e3e9f1 37%,#eef2f7 63%);
 background-size:400% 100%;animation:ewsk 1.3s ease-in-out infinite;margin-bottom:12px}
@keyframes ewsk{0%{background-position:100% 50%}100%{background-position:0 50%}}

@media (max-width:900px){.ewlt__filters{grid-template-columns:1fr 1fr}}
@media (max-width:560px){
 .ewlt__filters{grid-template-columns:1fr}
 .ewlt__head{padding:18px 15px}
 .ewlt__head h2{font-size:1.2rem}
 .ewlt__days{margin-left:0}
 .ewlt__grid{grid-template-columns:1fr}
 .ewlt__link{width:100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){.ewlt__skel{animation:none}}
