:root {
  --primary: #0792f0;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #eef6ff, #f9fbff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Card */
.card {
    width: 100%;
    max-width: 480px;
    padding: 50px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 160px;
  max-width: 100%;
  height: auto;
}

/* Success */
.success-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-heading svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Text elements */
h2 {
  margin-bottom: 10px;
}

.subtext {
  color: var(--muted);
  margin-bottom: 30px;
}

.support-text {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--muted);
}

.support-text a {
    color: var(--primary);
    text-decoration: none;
}

.support-text a:hover {
    text-decoration: underline;
}

/* Inputs */
.input-group {
  margin-bottom: 20px;
}

.input-wrap {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
  transition: 0.3s;
  pointer-events: none;
}

.input-group input:focus {
  border-color: var(--primary);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group input:-webkit-autofill + label,
.input-group input:autofill + label {
    top: -8px;
    font-size: 12px;
    color: var(--primary);
}

.input-group input:disabled {
  background: #f9fafb;
  color: var(--muted);
  cursor: not-allowed;
}

.input-group input:disabled + label {
  background: #f9fafb;
}

/* Error message */
.error-message {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 16px;
}

/* Cloudflare Turnstile */
.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #067ad1;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.footer {
  margin-top: 25px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  opacity: 0.8;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    padding: 40px 24px;
  }

  .logo img {
    width: 130px;
  }
}
