:root {
  --brand-navy: #081527;
  --brand-blue: #0f7fd1;
  --brand-cyan: #22c7e9;
  --brand-green: #16803c;
  --brand-gold: #b88a2e;
  --ink: #172033;
  --muted: #667085;
  --surface: #ffffff;
  --line: #dbe3ec;
  --soft: #f6f9fc;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
}

main {
  min-height: calc(100vh - 148px);
}

a {
  word-break: break-word;
}

.bg-brand {
  background: var(--brand-navy);
}

.brand-logo {
  width: 46px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
}

.verify-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 21, 39, 0.96), rgba(8, 21, 39, 0.72)),
    url("/images/logo.png") center / cover no-repeat;
}

.verify-hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 800;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.verify-card,
.auth-card,
.panel,
.metric,
.verify-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 31, 52, 0.07);
}

.verify-card {
  padding: 28px;
}

.section-pad {
  padding: 64px 0;
}

.narrow {
  max-width: 760px;
}

.panel,
.metric {
  padding: 24px;
}

.auth-screen {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background:
    linear-gradient(135deg, rgba(8, 21, 39, 0.06), rgba(15, 127, 209, 0.08)),
    var(--soft);
}

.auth-card {
  width: min(100%, 460px);
  padding: 32px;
}

.login-logo {
  width: 170px;
  max-width: 100%;
  border-radius: 6px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.page-head h1 {
  margin: 0;
  font-weight: 800;
}

.metric {
  min-height: 142px;
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--brand-blue);
  background: #eaf5ff;
  border-radius: 8px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.stat-card strong {
  font-size: 2rem;
}

.eyebrow {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-section-title {
  color: var(--brand-navy);
  font-weight: 800;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.required {
  color: #dc3545;
}

.search-panel {
  padding: 18px;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.h-fit {
  height: fit-content;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid div,
.detail-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.detail-grid span,
.detail-list span,
.verify-details span,
.detail-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.detail-grid strong,
.detail-list strong,
.verify-details strong {
  display: block;
  color: var(--ink);
}

.detail-list {
  display: grid;
  gap: 12px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0b4f7d;
  background: #eaf5ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.official-seal {
  text-align: center;
  padding: 12px 0 18px;
}

.official-seal img {
  width: 150px;
  max-width: 100%;
  border-radius: 50%;
}

.verify-result {
  padding: 34px;
  text-align: center;
  border-top: 6px solid var(--brand-blue);
}

.verify-page {
  padding: 58px 0;
  background:
    linear-gradient(135deg, rgba(8, 21, 39, 0.06), rgba(15, 127, 209, 0.08)),
    var(--soft);
}

.verify-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.verify-brand-panel,
.verify-result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 31, 52, 0.08);
}

.verify-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 34px;
  color: white;
  background:
    linear-gradient(145deg, rgba(8, 21, 39, 0.96), rgba(10, 79, 130, 0.9)),
    url("/images/logo.png") center / cover no-repeat;
}

.verify-brand-logo {
  width: 190px;
  max-width: 100%;
  margin-bottom: 34px;
  border-radius: 6px;
}

.verify-brand-panel h1 {
  max-width: 460px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 800;
}

.verify-brand-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.verify-mini-form {
  margin-top: 28px;
}

.verify-mini-form .form-label {
  color: rgba(255, 255, 255, 0.84);
}

.verify-result-panel {
  background: #ffffff;
}

.verify-result-card {
  min-height: 520px;
  padding: 38px;
  text-align: center;
}

.verify-result-card h2 {
  margin-bottom: 10px;
  color: var(--brand-navy);
  font-weight: 800;
}

.result-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 2.4rem;
}

.verify-result-card.success .result-mark {
  color: var(--brand-green);
  background: #eaf8ef;
}

.verify-result-card.warning .result-mark {
  color: #b7791f;
  background: #fff7e6;
}

.verify-result-card.danger .result-mark {
  color: #dc3545;
  background: #fff0f1;
}

.verified-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
  padding: 8px 14px;
  color: #0f5132;
  background: #dff4e7;
  border: 1px solid #badbcc;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.verify-result.success {
  border-top-color: var(--brand-green);
}

.verify-result.warning {
  border-top-color: #f0ad4e;
}

.verify-result.danger {
  border-top-color: #dc3545;
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success .result-icon {
  color: var(--brand-green);
}

.warning .result-icon {
  color: #f0ad4e;
}

.danger .result-icon {
  color: #dc3545;
}

.verify-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.verify-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.verify-details.premium div {
  border-left: 4px solid #0f7fd1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 31, 52, 0.04);
}

.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: #0a68ad;
  --bs-btn-hover-border-color: #0a68ad;
}

@media (max-width: 991.98px) {
  .verify-hero {
    padding: 72px 0;
  }

  .page-head {
    flex-direction: column;
  }

  .verify-shell {
    grid-template-columns: 1fr;
  }

  .verify-brand-panel,
  .verify-result-card {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 42px 0;
  }

  .auth-card,
  .verify-card,
  .panel,
  .verify-result {
    padding: 20px;
  }

  .detail-grid,
  .verify-details {
    grid-template-columns: 1fr;
  }

  .input-group-lg > .form-control,
  .input-group-lg > .btn,
  .input-group-lg > .input-group-text {
    font-size: 1rem;
  }
}
