/* MAFAR DTS — redesigned login (scoped; does not affect other pages) */
body.dts-auth-body{
  margin:0;background:#F7F9FB;color:#0F172A;font-size:14px;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.5;
}
.dts-auth{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.dts-auth__brand{background:#0B6B3A;color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
.dts-wordmark{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px;letter-spacing:.02em}
.dts-wordmark .dts-mark{width:38px;height:38px;border-radius:9px;background:rgba(255,255,255,.15);display:grid;place-items:center;font-weight:700}
.dts-wordmark small{display:block;font-size:11px;letter-spacing:.12em;opacity:.85;font-weight:500}
.dts-auth__brand h1{color:#fff;font-size:clamp(28px,2.6vw,42px);line-height:1.2;max-width:9em;margin:0;font-weight:600;letter-spacing:-.01em}
.dts-auth__brand p{color:rgba(255,255,255,.82);max-width:34ch;margin:14px 0 0}
.dts-auth__foot{color:rgba(255,255,255,.7);font-size:12px}
.dts-auth__main{display:flex;align-items:center;justify-content:center;padding:32px;min-width:0}
.dts-auth__card{width:100%;max-width:400px}
.dts-logo{height:64px;width:64px;object-fit:contain;margin-bottom:14px;display:block}
.dts-auth__card h2{font-size:24px;margin:0;font-weight:600;letter-spacing:-.01em}
.dts-muted{color:#475569}
.dts-small{font-size:13px}
.dts-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.dts-label{font-size:13px;font-weight:500;color:#475569}
.dts-input{height:42px;padding:0 12px;border:1px solid #E2E8F0;border-radius:6px;background:#fff;
  font-family:inherit;font-size:14px;color:#0F172A;width:100%;box-sizing:border-box}
.dts-input::placeholder{color:#94A3B8}
.dts-input:focus{outline:none;border-color:#0B6B3A;box-shadow:0 0 0 3px #E7F3EC}
.dts-input-group{position:relative}
.dts-input-group .dts-input{padding-right:44px}
.dts-icon-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;
  display:grid;place-items:center;border:0;background:none;color:#475569;cursor:pointer;border-radius:6px}
.dts-icon-btn:hover{background:#F1F5F9;color:#0F172A}
.dts-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.dts-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#475569}
.dts-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 14px;
  border-radius:6px;border:1px solid #E2E8F0;background:#fff;color:#0F172A;font-family:inherit;font-size:14px;
  font-weight:500;cursor:pointer;white-space:nowrap}
.dts-btn-primary{background:#0B6B3A;border-color:#0B6B3A;color:#fff}
.dts-btn-primary:hover{background:#095A31;border-color:#095A31}
.dts-btn-block{width:100%}
.dts-btn:disabled{opacity:.75;cursor:default}
.dts-btn:focus-visible{outline:2px solid #0B6B3A;outline-offset:2px}
.dts-alert{background:#FEE2E2;color:#B91C1C;border:1px solid #FECACA;border-radius:6px;
  padding:10px 12px;font-size:13px;margin-bottom:14px}
.dts-alert.dts-alert-ok{background:#DCFCE7;color:#15803D;border-color:#BBF7D0}
.dts-auth a{color:#0B6B3A;text-decoration:none}
.dts-auth a:hover{text-decoration:underline}
.dts-auth__card form{margin-top:8px}
@media(max-width:1000px){
  .dts-auth{grid-template-columns:minmax(0,1fr)}
  .dts-auth__brand{display:none}
  .dts-auth__main{padding:24px 16px}
  .dts-auth__card{background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:26px 22px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
}

/* ===== Public tracking page ===== */
.dts-public{min-height:100vh;min-height:100dvh;background:#F7F9FB}
.dts-public__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;background:#fff;border-bottom:1px solid #E2E8F0;flex-wrap:wrap}
.dts-wordmark--dark{color:#0F172A}
.dts-seal-sm{width:34px;height:34px;object-fit:contain;background:#fff;border-radius:8px}
.dts-public__main{max-width:760px;margin:0 auto;padding:32px 20px 48px}
.dts-card{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:24px;box-shadow:0 1px 3px rgba(16,24,40,.08);margin-bottom:18px}
.dts-public h1{font-size:24px;margin:0 0 6px}
.dts-public .dts-h2{font-size:15px;margin:22px 0 10px}
.dts-trackform{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:16px}
.dts-trackform .dts-field{flex:1;min-width:200px;margin:0}
.dts-mono-lg{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:18px;font-weight:600}
.dts-result__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.dts-badge{background:#E7F3EC;color:#0B6B3A;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600}
.dts-kv{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 6px}
.dts-kv dt{font-size:12px;color:#64748B}
.dts-kv dd{margin:2px 0 0;font-weight:500}
.dts-timeline{list-style:none;margin:0;padding:0}
.dts-timeline li{position:relative;padding:0 0 18px 26px;border-left:2px solid #E2E8F0;margin-left:6px}
.dts-timeline li:last-child{border-left-color:transparent;padding-bottom:0}
.dts-tl-dot{position:absolute;left:-7px;top:2px;width:12px;height:12px;border-radius:50%;background:#0B6B3A;border:2px solid #fff;box-shadow:0 0 0 2px #E7F3EC}
.dts-tl-title{font-weight:600;font-size:13px}
.dts-tl-meta{color:#64748B;font-size:12px;margin-top:2px}
.dts-empty{text-align:center}

/* ===== Login extras ===== */
.dts-help{margin-top:18px;padding-top:16px;border-top:1px solid #E2E8F0}
.dts-help .dts-btn{margin-top:10px}
.dts-legal{margin-top:16px;text-align:center;font-size:12px;color:#64748B}
.dts-legal a{color:#0B6B3A}
.dts-caps{color:#B45309;background:#FEF3C7;border:1px solid #FDE68A;border-radius:6px;padding:6px 10px;font-size:12px;margin-top:6px}
@media(max-width:640px){.dts-kv{grid-template-columns:1fr}}
