* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 72, 128, 0.22), transparent 30%),
    linear-gradient(135deg, #fff5f8, #f8f7ff);
  min-height: 100vh;
  color: #1f1f29;
}

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

.card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(31, 31, 41, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.brand {
  text-align: center;
  margin-bottom: 28px;
}


.brand h1 {
  margin: 0;
  font-size: 30px;
}

.brand p {
  margin: 8px 0 0;
  color: #707080;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: span 2;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: #353542;
}

input,
select {
  width: 100%;
  border: 1px solid #e4e4ef;
  background: #fafaff;
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 15px;
  outline: none;
  transition: 0.2s ease;
}

input:focus,
select:focus {
  border-color: #ff3f7f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 63, 127, 0.08);
}

select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

button {
  width: 100%;
  margin-top: 24px;
  border: none;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff3f7f, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255, 63, 127, 0.26);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.alert.success {
  background: #ecfdf3;
  color: #027a48;
}

.alert.error {
  background: #fff1f3;
  color: #c01048;
}

.result {
  margin-top: 20px;
  background: #f8f8ff;
  border: 1px solid #eeeeff;
  border-radius: 18px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.result strong {
  color: #111827;
}

.hidden {
  display: none;
}

.check-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e4e4ef;
  background: #fafaff;
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
}

.check-card input {
  width: auto;
}

.check-card:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}

.success-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(circle at top, rgba(255, 63, 127, 0.22), transparent 32%),
    linear-gradient(135deg, #fff5f8, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 32px;
  padding: 44px 30px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(31, 31, 41, 0.18);
}

.success-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3f7f, #8b5cf6);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card h1 {
  margin: 0;
  font-size: 30px;
}

.success-card p {
  color: #666;
  margin: 14px 0;
}

.success-card h2 {
  margin: 18px 0 0;
  font-size: 22px;
  color: #8b5cf6;
}

.hidden {
  display: none !important;
}

.logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff84ad, #bda0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(255, 63, 127, 0.28);
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.hidden {
  display: none !important;
}

.verify-screen {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff3b7f, #7c3cff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.verify-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.verify-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 18px;
}

.verify-icon {
  font-size: 44px;
  margin-bottom: 14px;
}

.verify-card h1 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #111827;
}

.verify-card p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}

.verify-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b7f, #7c3cff);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.reset-input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
}

.reset-input:focus {
  border-color: #ff3b7f;
}

@media (max-width: 680px) {
  .card {
    padding: 24px;
    border-radius: 22px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: span 1;
  }

  .brand h1 {
    font-size: 26px;
  }
}

.support-page {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 63, 127, 0.24), transparent 30%),
    linear-gradient(135deg, #fff5f8, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-card {
  width: min(760px, 100%);
  background: #ffffff;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(31, 31, 41, 0.14);
}

.support-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 22px;
}

.support-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff84ad, #bda0ff);
  padding: 6px;
}

.support-card h1 {
  margin: 0;
  font-size: 34px;
  color: #111827;
}

.support-subtitle {
  margin: 12px 0 24px;
  color: #6b7280;
  line-height: 1.7;
  font-size: 16px;
}

.support-section {
  border: 1px solid #eeeeff;
  background: #fafaff;
  border-radius: 20px;
  padding: 20px;
  margin-top: 16px;
}

.support-section.highlight {
  background: linear-gradient(135deg, rgba(255, 63, 127, 0.08), rgba(139, 92, 246, 0.08));
}

.support-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111827;
}

.support-section p {
  margin: 8px 0;
  color: #555568;
  line-height: 1.6;
}

.support-section a,
.support-links a {
  color: #ff3f7f;
  font-weight: 800;
  text-decoration: none;
}

.support-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #555568;
  line-height: 1.9;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.support-footer {
  margin: 24px 0 0;
  color: #8a8a98;
  font-size: 14px;
}

@media (max-width: 680px) {
  .support-card {
    padding: 24px;
    border-radius: 24px;
  }

  .support-card h1 {
    font-size: 28px;
  }
}
