/* =========================================================================
   verify.css — the "Verify Apostille" form view only.
   Everything here is scoped to #verify-view, so none of it can affect the
   certificate page, the header, the footer or anything else on the site.
   Sizes are taken from the reference screenshots, measured against a 392px
   phone screen (688px screenshot = 392 CSS px, so 1.755 image px per CSS px).
   ========================================================================= */

#verify-view {
  display: none;
  padding: 200px 0 60px;
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
}

#verify-view.is-visible {
  display: block;
}

/* Hides the certificate parts while the form is on screen. !important is
   needed because the certificate wrapper carries Bootstrap's .d-block. */
.va-hidden {
  display: none !important;
}

/* ---- Headings above the card ---- */

.va-title {
  max-width: 285px;
  margin: 0 auto;
  font-size: 26px;
  line-height: 35px;
  font-weight: 700;
  text-align: center;
  color: #16191d;
}

.va-intro {
  max-width: 282px;
  margin: 7px auto 0;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #6f7378;
}

/* ---- The form card ---- */

.va-card {
  width: 310px;
  margin: 40px auto 0;
  padding: 20px;
  background: #fdf3f8;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.va-card-title {
  margin: 0;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
  color: #16191d;
}

/* ---- The "Requested document not found" message ----
   Sits directly under the card title, and is only shown after a failed
   attempt. It never appears on first load. */
.va-error {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #8b1111;
  color: #ffffff;
  border-radius: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
}

.va-error.is-visible {
  display: block;
}

/* ---- Fields ---- */

.va-label {
  display: block;
  margin: 26px 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #3a3f45;
}

.va-required {
  color: #c0392b;
}

.va-input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #ded7dd;
  border-radius: 8px;
  background: #f4eff4;
  font-family: inherit;
  font-size: 16px;
  color: #16191d;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.va-input::placeholder {
  color: #a9a4a9;
}

.va-input:focus {
  outline: none;
  border-color: #003d1d;
}

/* Day and month sit side by side, the year goes full width underneath. */
.va-date-row {
  display: flex;
  gap: 11px;
}

.va-date-row .va-input {
  flex: 1 1 0;
  min-width: 0;
}

.va-select {
  margin-top: 11px;
  /* room for the little arrow drawn below */
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23555' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* ---- Verify button and Clear data ---- */

.va-submit {
  display: block;
  width: 161px;
  height: 61px;
  margin: 34px auto 0;
  border: none;
  border-radius: 12px;
  background: #0b3d1e;
  color: #ffffff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.va-submit:active {
  background: #072d16;
}

/* The form view's own help line, sitting close under the card. */
.va-help {
  margin: 14px auto 0;
  font-size: 13px;
  line-height: 19px;
  text-align: center;
  color: #16191d;
}

.va-clear {
  display: block;
  width: fit-content;
  margin: 50px auto 6px;
  font-size: 15px;
  color: #16191d;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* ---- Wider screens ----
   The design is a phone layout; on a desktop it simply sits centred rather
   than stretching, so the certificate page's own styling is unaffected. */
@media (min-width: 576px) {
  #verify-view {
    padding-top: 200px;
  }
}
