* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f4f6;
  color: #111827;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 24px 28px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.logo {
  width: 150px;
  max-width: 70%;
  margin: 0 auto 26px;
  display: block;
}

.logo.small {
  width: 120px;
  margin-bottom: 24px;
}

h1 {
  font-size: 25px;
  line-height: 1.22;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 22px;
  margin: 18px 0 8px;
}

.subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
  margin: 0 0 24px;
}

.error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 16px;
  text-align: left;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  background: #fafafa;
  margin-bottom: 18px;
  user-select: none;
}

.check-row:active { transform: scale(0.99); }

.check-row input {
  width: 22px;
  height: 22px;
  accent-color: #ff9900;
  flex: 0 0 auto;
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 54px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  color: #111827;
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  box-shadow: 0 8px 16px rgba(247, 202, 0, 0.24);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.btn:active:not(:disabled) { transform: translateY(1px); }

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.tiny {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  margin: 18px 0 0;
}

.hidden { display: none; }

.spinner {
  width: 44px;
  height: 44px;
  margin: 8px auto 0;
  border: 4px solid #e5e7eb;
  border-top-color: #ff9900;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 380px) {
  .card {
    padding: 30px 18px 24px;
    border-radius: 18px;
  }
  h1 { font-size: 23px; }
  .check-row { font-size: 16px; }
}
