/* Sunpal public verification — verify.sunpal.my /public-verify */
:root {
  --v-green: #1f8a4c;
  --v-green-dark: #166b3a;
  --v-ink: #14231a;
  --v-muted: #5c6b62;
  --v-line: #dce5df;
  --v-bg: #f3f7f4;
  --v-danger: #8a1f11;
  --v-warn: #8a5a00;
}

* { box-sizing: border-box; }
body.verify-body {
  margin: 0;
  min-height: 100vh;
  font-family: Sora, system-ui, sans-serif;
  color: var(--v-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(31, 138, 76, .12), transparent),
    linear-gradient(180deg, #eef6f1 0%, var(--v-bg) 40%, #f8faf8 100%);
}

.verify-top {
  border-bottom: 1px solid var(--v-line);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
}
.verify-top-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.verify-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--v-ink);
  font-weight: 700;
}
.verify-brand img { height: 28px; width: auto; }
.verify-nav { display: flex; gap: .35rem; flex-wrap: wrap; }
.verify-nav a {
  text-decoration: none;
  color: var(--v-muted);
  font: 600 13px/1 Sora, system-ui, sans-serif;
  padding: .55rem .85rem;
  border-radius: 999px;
}
.verify-nav a:hover,
.verify-nav a.active {
  color: var(--v-green-dark);
  background: #e8f6ee;
}

.verify-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.verify-hero { margin-bottom: 1.5rem; }
.verify-eyebrow {
  margin: 0 0 .4rem;
  color: var(--v-green);
  font: 700 12px/1.3 Sora, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.verify-hero h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.verify-hero p { margin: 0; color: var(--v-muted); max-width: 38rem; }

.verify-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.verify-choice-card {
  display: block;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--v-line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(20, 35, 26, .05);
  transition: border-color .15s ease, transform .15s ease;
}
.verify-choice-card:hover {
  border-color: rgba(31, 138, 76, .45);
  transform: translateY(-2px);
}
.verify-choice-card h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.verify-choice-card p { margin: 0; color: var(--v-muted); font-size: .92rem; }
.verify-choice-card code {
  font: 600 12px/1.3 ui-monospace, monospace;
  color: var(--v-green-dark);
}

.verify-form {
  display: grid;
  gap: .65rem;
  max-width: 420px;
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--v-line);
  border-radius: 14px;
  background: #fff;
}
.verify-form label { font: 600 13px/1.3 Sora, system-ui, sans-serif; }
.verify-form input {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--v-line);
  border-radius: 10px;
  font: inherit;
}
.verify-form button {
  justify-self: start;
  min-height: 42px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--v-green);
  color: #fff;
  font: 700 13px/1 Sora, system-ui, sans-serif;
  cursor: pointer;
}
.verify-form button:hover { background: var(--v-green-dark); }

.verify-notice {
  border-radius: 12px;
  padding: .9rem 1rem;
  margin: 0 0 1rem;
}
.verify-notice--error { background: #fdecea; color: var(--v-danger); }
.verify-notice p { margin: 0; }

.verify-result {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--v-line);
  border-radius: 16px;
  background: #fff;
}
.verify-result.is-valid {
  border-color: rgba(31, 138, 76, .45);
  background: #f7fbf8;
}
.verify-result.is-invalid {
  border-color: rgba(138, 31, 17, .25);
  background: #fffaf9;
}
.verify-result--expired {
  border-color: rgba(138, 90, 0, .35);
  background: #fffaf0;
}
.verify-result h2 { margin: .35rem 0 .75rem; font-size: 1.35rem; }
.verify-msg { margin: 0 0 1rem; color: var(--v-muted); }
.verify-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.verify-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 .65rem;
  border-radius: 999px;
  background: var(--v-bg);
  color: var(--v-muted);
  font: 700 11px/1 Sora, system-ui, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.verify-badge.ok { background: #e8f6ee; color: #145c34; }
.verify-badge.bad { background: #fdecea; color: var(--v-danger); }

.verify-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .85rem;
  margin: 0 0 .75rem;
}
.verify-dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--v-muted);
}
.verify-dl dd { margin: .2rem 0 0; }
.verify-dl ul { margin: 0; padding-left: 1.1rem; }
.verify-dl code {
  font: 700 14px/1.3 ui-monospace, monospace;
  letter-spacing: .02em;
}
.verify-note { margin: 0; color: var(--v-muted); font-size: .88rem; }
.verify-note a { color: var(--v-green-dark); font-weight: 600; }

.verify-foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  color: var(--v-muted);
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 640px) {
  .verify-top-inner { flex-direction: column; align-items: flex-start; }
  .verify-form { max-width: none; }
}
