/* ---------------------------------------------
   APA™ Certificate Verification — design tokens
   Enqueued by page-apa-verify.php
   --------------------------------------------- */
:root {
  --apa-green: #1c5c3f;       /* headline / button */
  --apa-green-mid: #2a7350;   /* button hover */
  --apa-gold: #c9a227;        /* badge / divider accent */
  --apa-grey: #5b6b74;        /* supporting copy */
  --apa-ink: #2b2f31;         /* input text */
  --apa-line: #d9dcdb;        /* borders */
}

.flex-1 {
  flex: 1 1 auto;
}

/* Layout */
.verify-wrap {
  max-width: 48rem; /* 3xl */
  margin: 0 auto;
  padding: 6rem 1rem; /* py-12 px-4 */
}

/* Heading */
.verify-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: var(--apa-green);
}

@media (min-width: 640px) {
  .verify-title {
    font-size: 1.875rem; /* sm:text-3xl */
  }
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: var(--apa-gold);
  color: var(--apa-ink);
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 640px) {
  .verify-badge {
    font-size: 1.25rem; /* sm:text-xl */
  }
}

/* Divider */
.verify-divider {
  margin-top: 0.75rem;
  height: 3px;
  width: 100%;
  background: var(--apa-gold);
}

/* Supporting copy */
.verify-copy {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.6;
  color: var(--apa-grey);
}

/* Form */
.verify-form {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.verify-input {
  flex: 1 1 auto;
  min-width: 16rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--apa-line);
  border-radius: 0.375rem;
  background: #ffffff;
  color: var(--apa-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.verify-input::placeholder {
  color: #9aa3a8;
  text-transform: uppercase;
}

.verify-input:focus {
  outline: none;
  border-color: var(--apa-green);
  box-shadow: 0 0 0 3px rgba(28, 92, 63, 0.15);
}

.verify-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  background: var(--apa-green);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.verify-button:hover {
  background: var(--apa-green-mid);
}

.verify-button:focus-visible {
  outline: 2px solid var(--apa-gold);
  outline-offset: 2px;
}

/* Result area (shown after a lookup) */
.verify-result {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--apa-line);
  border-radius: 0.375rem;
  background: #f7f8f7;
  font-size: 0.875rem;
  color: var(--apa-ink);
}
