body { font-size: 0.95rem; }
.card-soft { border: 0; border-radius: 1rem; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.metric-card { background: linear-gradient(135deg, #ffffff, #eef4ff); }
.table-responsive { border-radius: 0.8rem; }
.badge { font-size: 0.78rem; }
.filter-card { position: sticky; top: 12px; z-index: 10; }
.ticket-message { white-space: pre-wrap; }
.timeline-item { border-left: 3px solid #dbeafe; padding-left: 1rem; margin-left: 0.75rem; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #eff6ff, #eef2ff, #fdf2f8); }
.public-wrap { min-height: 100vh; background: linear-gradient(135deg, #eff6ff, #ecfeff); }

/* MIT public query page premium redesign */
.mit-public-page{
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.14), transparent 28%),
    radial-gradient(circle at top right, rgba(124,58,237,.14), transparent 30%),
    linear-gradient(135deg,#edf8ff 0%, #f7f2ff 52%, #f3fbf7 100%);
}
.mit-hero-shell{
  position:relative;
  overflow:hidden;
  padding:28px;
  border-radius:32px;
  background:linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.64));
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 20px 60px rgba(37,99,235,.10), 0 8px 24px rgba(15,23,42,.05);
  backdrop-filter: blur(18px);
}
.mit-hero-shell::before,
.mit-hero-shell::after{
  content:"";
  position:absolute;
  border-radius:999px;
  filter:blur(8px);
}
.mit-hero-shell::before{
  width:280px; height:280px; right:-80px; top:-90px;
  background:radial-gradient(circle, rgba(14,165,233,.18), rgba(14,165,233,0) 68%);
}
.mit-hero-shell::after{
  width:250px; height:250px; left:-90px; bottom:-90px;
  background:radial-gradient(circle, rgba(124,58,237,.16), rgba(124,58,237,0) 68%);
}
.mit-hero-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}
.mit-brand-wrap{
  display:flex;
  align-items:center;
  gap:16px;
}
.mit-brand-logo{
  width:90px;
  height:90px;
  object-fit:contain;
  border-radius:24px;
  background:rgba(255,255,255,.85);
  padding:10px;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.mit-mini-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(37,99,235,.10);
  color:#1e3a8a;
  font-weight:700;
  margin-bottom:12px;
}
.mit-main-title{
  margin:0;
  font-size:clamp(30px,4.4vw,58px);
  line-height:1;
  letter-spacing:-.03em;
  font-weight:800;
  color:#0f172a;
}
.mit-main-subtitle{
  margin:10px 0 0;
  font-size:16px;
  color:#475569;
}
.mit-hero-pill{
  white-space:nowrap;
  border-radius:999px;
  padding:13px 18px;
  color:#1e3a8a;
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.11));
  border:1px solid rgba(37,99,235,.12);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
  font-weight:700;
}
.mit-side-card,
.mit-form-card{
  position:relative;
  z-index:1;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.68);
  background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.66));
  box-shadow:0 14px 32px rgba(15,23,42,.05);
}
.mit-side-card{ padding:28px; }
.mit-form-card{ padding:26px; }
.mit-side-card h2{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.02;
  letter-spacing:-.03em;
  color:#0f172a;
}
.mit-side-card p{
  color:#475569;
  font-size:16px;
}
.mit-feature-list{ display:grid; gap:12px; }
.mit-feature-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(15,23,42,.06);
}
.mit-feature-icon{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow:0 12px 24px rgba(37,99,235,.18);
}
.mit-feature-item strong{
  display:block;
  font-size:15px;
  color:#0f172a;
}
.mit-feature-item span{
  display:block;
  margin-top:3px;
  font-size:14px;
  color:#64748b;
}
.mit-form-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.mit-form-head h3{
  margin:0;
  font-size:30px;
  letter-spacing:-.02em;
  color:#0f172a;
}
.mit-form-head p{
  margin:6px 0 0;
  color:#475569;
}
.mit-form-note{
  border-radius:18px;
  padding:12px 14px;
  background:linear-gradient(135deg, rgba(14,165,233,.10), rgba(37,99,235,.08));
  border:1px solid rgba(37,99,235,.10);
  color:#1e3a8a;
  font-weight:700;
  font-size:14px;
}
.mit-label{
  font-weight:700;
  color:#0f172a;
  margin-bottom:9px;
}
.mit-input,
.mit-textarea{
  border:1px solid rgba(148,163,184,.36);
  background:rgba(255,255,255,.90);
  color:#0f172a;
  border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
  transition:border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.mit-input{
  height:58px;
  padding:0 18px;
  font-size:17px;
}
.mit-textarea{
  min-height:190px;
  padding:16px 18px;
  font-size:17px;
  resize:vertical;
}
.mit-input:focus,
.mit-textarea:focus{
  border-color:rgba(37,99,235,.42);
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
  transform:translateY(-1px);
}
.mit-helper-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:10px;
}
.mit-helper-pill{
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15,23,42,.06);
  color:#334155;
}
.mit-btn-gradient{
  color:#fff !important;
  border:none;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow:0 16px 28px rgba(37,99,235,.18);
}
.mit-btn-soft{
  color:#0f172a !important;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(15,23,42,.08);
}
.mit-alert-success{
  border-radius:18px;
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.18);
  color:#166534;
}
.mit-alert-danger{
  border-radius:18px;
  background:rgba(239,68,68,.10);
  border-color:rgba(239,68,68,.18);
  color:#991b1b;
}
.mit-footer-note{
  position:relative;
  z-index:1;
  text-align:center;
  font-size:13px;
  color:#64748b;
  padding-top:18px;
}

@media (max-width: 991.98px){
  .mit-hero-top{
    flex-direction:column;
    align-items:flex-start;
  }
  .mit-hero-pill{
    white-space:normal;
    width:100%;
  }
}
@media (max-width: 767.98px){
  .mit-hero-shell{ padding:18px; border-radius:24px; }
  .mit-brand-wrap{
    align-items:flex-start;
  }
  .mit-brand-logo{
    width:72px; height:72px; border-radius:18px;
  }
  .mit-side-card h2{
    font-size:30px;
  }
  .mit-form-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .mit-btn-gradient,
  .mit-btn-soft{
    width:100%;
  }
}
