:root {
  --navy: #0b1f4d;
  --royal: #1e4db7;
  --gold: #d4af37;
  --white: #ffffff;
  --ink: #16213f;
  --muted: #667085;
  --line: rgba(11, 31, 77, 0.12);
  --card: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 60px rgba(11, 31, 77, 0.12);
  --success: #027a48;
  --error: #b42318;
  --warning: #92400e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(30,77,183,0.14), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(212,175,55,0.08), transparent 35%),
    linear-gradient(180deg, #eef3ff 0%, #f7f8fc 50%, #eef2f8 100%);
}

.hidden { display: none !important; }

/* ── Header ── */
.status-shell { min-height: 100vh; display: flex; flex-direction: column; }

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--white);
  box-shadow: 0 16px 40px rgba(11,31,77,0.28);
}

.brand-block { display: flex; align-items: center; gap: 1rem; }

.logo-mark {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  padding: 0.2rem;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bcd2ff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.status-header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.back-link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.back-link:hover { color: var(--gold); }

/* ── Container ── */
.status-container {
  flex: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 2%;
  width: 100%;
}

/* ── Search Card ── */
.search-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 3rem 2.5rem;
  text-align: center;
}

.search-icon { font-size: 3rem; margin-bottom: 1rem; }

.section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-card h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.search-hint {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.search-hint code {
  background: rgba(30,77,183,0.08);
  color: var(--royal);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.search-form { width: 100%; }

.search-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.search-input-row input {
  flex: 1;
  padding: 0.95rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,0.96);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-row input:focus {
  outline: none;
  border-color: rgba(30,77,183,0.5);
  box-shadow: 0 0 0 4px rgba(30,77,183,0.1);
}

.form-error { color: var(--error); font-size: 0.88rem; margin-top: 0.6rem; }

/* ── Buttons ── */
.btn {
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--royal), var(--navy));
  color: var(--white);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 4px 16px rgba(11,31,77,0.2);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(11,31,77,0.3); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: rgba(30,77,183,0.3);
}
.btn-outline:hover { background: rgba(30,77,183,0.06); }

/* ── Result Card ── */
.result-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.result-reg-badge {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,77,183,0.08);
  border-radius: 18px;
  flex-shrink: 0;
}

.result-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  color: var(--navy);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-item {
  background: rgba(238,243,255,0.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.result-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.result-item strong {
  font-size: 0.97rem;
  color: var(--ink);
}

/* ── Review Status Block ── */
.review-status-block {
  background: rgba(11,31,77,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.review-status-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.review-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}
.pill-pending  { background: rgba(146,64,14,0.1);  color: var(--warning); }
.pill-verified { background: rgba(2,122,72,0.1);   color: var(--success); }
.pill-rejected { background: rgba(180,35,24,0.1);  color: var(--error);   }

.review-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ── Error Card ── */
.error-card {
  background: var(--card);
  border: 1px solid rgba(180,35,24,0.15);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 3rem 2.5rem;
  text-align: center;
  animation: fadeIn 0.35s ease;
}
.error-icon { font-size: 3rem; margin-bottom: 1rem; }
.error-card h2 { font-family: "Poppins", sans-serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.error-card p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }

.result-actions { display: flex; justify-content: flex-end; }

/* ── Footer ── */
.status-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}

@media (max-width: 600px) {
  .status-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem; }
  .search-card { padding: 2rem 1.25rem; }
  .search-input-row { flex-direction: column; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .status-container {
    padding: 1.5rem 1rem 3rem;
  }
  .brand-block {
    width: 100%;
  }
  .logo-mark {
    width: 52px;
    height: 52px;
  }
  .status-header h1 {
    font-size: 1.2rem;
  }
  .back-link {
    width: 100%;
    text-align: left;
    margin-top: 0.25rem;
  }
}
