* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top left, #e8f0ff, transparent 35%), #f5f7fb;
  color: #172033;
}
.app-wrapper { min-height: 100vh; }
.site-header {
  width: 100%;
  background: linear-gradient(135deg, #101828, #26364f);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.16);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.35px;
}
.brand:hover { color: #fff; }
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffc107, #ff8a00);
  color: #101828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 193, 7, .28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px;
  border-radius: 999px;
}
.nav-links a {
  color: #e7edf8;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: #fff;
  color: #101828;
  transform: translateY(-1px);
}
.main-area {
  padding-top: 42px;
  padding-bottom: 28px;
}
.custom-card {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}
.domain-card { min-height: 620px; }
.section-title {
  font-size: 23px;
  color: #111827;
}
.mini-label {
  background: #eef4ff;
  color: #2457ff;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
}
.domain-box {
  min-height: 460px;
  resize: vertical;
  border-radius: 20px;
  padding: 20px 22px;
  line-height: 1.9;
  font-size: 18px;
  border-color: #d8dfeb;
  background: #fbfdff;
}
.domain-box:focus {
  border-color: #4263eb;
  box-shadow: 0 0 0 .25rem rgba(66, 99, 235, .12);
}
.btn { border-radius: 12px; font-weight: 700; }
.btn-primary { background: #2457ff; border-color: #2457ff; }
.results-table { max-height: 595px; border-radius: 16px; }
.table { margin-bottom: 0; }
thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc !important;
  color: #475467;
  font-size: 13px;
  white-space: nowrap;
}
td { font-size: 14px; white-space: nowrap; }
.status-success { color: #087f5b; font-weight: 700; }
.status-error { color: #d92d20; font-weight: 700; }
.loading-row { opacity: .7; }
.progress { height: 24px; border-radius: 999px; overflow: hidden; }
@media (max-width: 768px) {
  .header-inner { min-height: auto; padding: 16px 0; flex-direction: column; align-items: flex-start; }
  .brand { font-size: 19px; }
  .nav-links { width: 100%; justify-content: space-between; overflow-x: auto; }
  .nav-links a { padding: 9px 14px; white-space: nowrap; }
  .main-area { padding-top: 24px; }
  .domain-box { min-height: 390px; }
}
