@font-face {
  font-family: Thai;
  src: url(/thai.woff2) format("woff2");
  font-display: swap;
}
:root {
  font-family:
    Thai,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #192c46;
  background: #f6f8fc;
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 20% 0, #e9efff, transparent 48%), #f6f8fc;
  min-height: 100dvh;
}
main {
  max-width: 570px;
  margin: auto;
  padding: 34px 20px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
}
.logo {
  font-size: 31px;
  letter-spacing: -2px;
  font-weight: 850;
  color: #245df1;
}
.brand > span + span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #617590;
  border-left: 1px solid #d4dcea;
  padding-left: 14px;
}
.card {
  background: #fff;
  border: 1px solid #e1e8f2;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 40px #29456a08;
}
.icon {
  width: 46px;
  height: 46px;
  background: #ecf2ff;
  border: 1px solid #dbe5ff;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #245df1;
  font-size: 27px;
  margin-bottom: 23px;
}
.eyebrow {
  color: #245df1;
  font-size: 12px;
  font-weight: 650;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  margin: 8px 0 14px;
  letter-spacing: -0.6px;
}
.intro {
  font-size: 14px;
  color: #61728a;
  margin: 0 0 25px;
}
.ip-box {
  background: #f7f9fc;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ip-box > span {
  font-size: 12px;
  color: #6d7e93;
}
.ip-box strong {
  font:
    600 19px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.status {
  font-size: 13px;
  color: #546a84;
  margin: 18px 0;
}
.status.error {
  color: #b83a33;
  background: #fff2ef;
  border-radius: 10px;
  padding: 12px;
}
.status.pending {
  color: #936126;
  background: #fff7e9;
  padding: 12px;
  border-radius: 10px;
}
#captcha {
  margin: 22px 0 15px;
  min-height: 65px;
}
button {
  min-height: 49px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: #245df1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:hover:enabled {
  background: #174cd9;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6b9bff;
  outline-offset: 3px;
}
.secondary {
  background: #ecf2ff;
  color: #245df1;
}
.secondary:hover:enabled {
  background: #dfe9ff;
}
.small {
  font-size: 11px;
  color: #7b899d;
  text-align: center;
  margin: 13px 0 0;
}
#success {
  text-align: center;
  padding: 15px 0 5px;
}
h2 {
  font-size: 22px;
  margin: 12px 0 6px;
}
.success-mark {
  background: #e7f8ef;
  color: #13824d;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
  margin: auto;
}
#expiry {
  color: #42715e;
  font-size: 13px;
}
.note {
  padding: 25px 14px 12px;
  color: #7a889c;
  font-size: 12px;
}
.note strong {
  color: #536a85;
  font-size: 12px;
}
.note p {
  margin: 6px 0;
}
footer {
  font-size: 10px;
  color: #94a0b2;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 420px) {
  main {
    padding: 22px 14px;
  }
  .brand {
    margin-bottom: 21px;
  }
  .card {
    padding: 24px 19px;
    border-radius: 16px;
  }
  h1 {
    font-size: 25px;
  }
  #captcha {
    overflow: hidden;
  }
  .ip-box strong {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background 0.15s;
  }
}
