.kt-imei-result{display:none!important}
.kt-imei-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:999999;display:none;align-items:center;justify-content:center;padding:16px}
.kt-imei-modal-overlay.kt-open{display:flex}
.kt-imei-modal-card{width:min(760px,96vw);max-height:88vh;overflow:auto;background:#07100b;color:#eafff3;border:1px solid rgba(0,255,136,.35);border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.55),0 0 35px rgba(0,255,136,.12);padding:22px;position:relative}
.kt-imei-modal-close{position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#0f172a;color:#fff;font-size:22px;cursor:pointer}
.kt-imei-modal-title{font-size:22px;font-weight:900;margin:0 46px 14px 0;color:#00ff88}
.kt-imei-modal-line{font-size:16px;line-height:1.7;border-bottom:1px solid rgba(255,255,255,.08);padding:7px 0}
.kt-imei-modal-box{margin-top:14px;padding:14px;border-radius:14px;background:#081525;border:1px solid rgba(0,212,255,.25);line-height:1.6}
.kt-imei-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.kt-imei-modal-btn{display:inline-block;background:#00ff88;color:#02140a;font-weight:900;text-decoration:none;border-radius:12px;padding:12px 14px;border:0;cursor:pointer}
.kt-imei-modal-btn.secondary{background:#0f172a;color:#eafff3;border:1px solid rgba(255,255,255,.18)}
.kt-imei-modal-pre{white-space:pre-wrap;max-height:260px;overflow:auto;background:#020617;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:12px;margin-top:10px}
.kt-imei-modal-warn{color:#ffd75a;font-weight:900}
.kt-imei-modal-bad{color:#ff6b6b;font-weight:900}
.kt-imei-modal-ok{color:#00ff88;font-weight:900}
body.kt-imei-modal-lock{overflow:hidden}
@media(max-width:640px){
  .kt-imei-modal-card{padding:18px;max-height:92vh}
  .kt-imei-modal-title{font-size:19px}
  .kt-imei-modal-line{font-size:14px}
}

/* Force old inline result container to never deform home */
#ktResult,
#ktImeiResult,
.kt-live-result{
  display:none!important;
}
.kt-imei-modal-card .kt-live-result{
  display:block!important;
}

/* KT production modal theme refinement */
.kt-imei-modal-overlay{
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(5px);
}
.kt-imei-modal-card{
  background:linear-gradient(180deg,#06100d,#020806);
  border:1px solid rgba(0,255,136,.55);
  box-shadow:0 0 0 1px rgba(0,212,255,.14),0 24px 90px rgba(0,0,0,.72),0 0 45px rgba(0,255,136,.16);
}
.kt-imei-modal-title{
  color:#00ff88;
  text-shadow:0 0 14px rgba(0,255,136,.18);
}
.kt-imei-modal-line{
  border-bottom:1px solid rgba(0,255,136,.13);
  color:#eafff3;
}
.kt-imei-modal-box{
  background:linear-gradient(135deg,rgba(0,212,255,.10),rgba(0,255,136,.06));
  border:1px solid rgba(0,212,255,.38);
  color:#f2fff8;
}
.kt-imei-modal-btn{
  background:linear-gradient(135deg,#00ff88,#00d4ff);
  color:#02140a!important;
  border:1px solid rgba(0,255,136,.55);
  box-shadow:0 10px 25px rgba(0,255,136,.12);
}
.kt-imei-modal-btn:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
.kt-imei-modal-btn.secondary{
  background:#0b1424;
  color:#eafff3!important;
  border:1px solid rgba(0,212,255,.45);
}
.kt-imei-modal-close{
  background:#101827;
  color:#ffffff!important;
  border:1px solid rgba(0,212,255,.45);
}
.kt-imei-modal-pre,
.kt-imei-modal-card details{
  display:none!important;
}


/* KT modal loader progress - self contained */
.kt-imei-modal-progress{
  height:12px;
  width:100%;
  background:#02101d;
  border-radius:999px;
  overflow:hidden;
  margin-top:14px;
  border:1px solid rgba(0,212,255,.35);
}
.kt-imei-modal-progress-bar{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#00ff88,#00d4ff,#ef3b83);
  transition:width .45s ease;
}
.kt-imei-modal-loading-note{
  margin-top:10px;
  font-size:13px;
  opacity:.86;
}
@keyframes ktImeiModalLoading{
  0%{transform:translateX(-120%);width:35%}
  50%{width:62%}
  100%{transform:translateX(285%);width:35%}
}


/* KT deterministic progress bar */
#ktImeiProgressBar{
  width:10%;
  transition:width .45s ease;
  transform:none!important;
  animation:none!important;
}
#ktImeiProgressText{
  font-weight:800;
  margin-bottom:10px;
}


/* KT IMEI explicit status colors */
.kt-imei-modal-ok{color:#00ff88!important;font-weight:900}
.kt-imei-modal-bad{color:#ff4d6d!important;font-weight:900}
.kt-imei-modal-warn{color:#ffd75a!important;font-weight:900}
