/* ---------- Base ---------- */
* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  padding: 24px;
}

.card {
  padding: 48px 36px;
  border-radius: 24px;
  max-width: 420px;
  text-align: center;
}

.flower {
  width: 80px;
  margin-bottom: 24px;
}

h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 32px;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  text-decoration: none;
  padding: 18px;
  border-radius: 16px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn span {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

input,
textarea {
  margin-top: 6px;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
}

textarea {
  resize: none;
  height: 90px;
}

.full {
  width: 100%;
  margin-top: 8px;
}

.back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- LIGHT MODE ---------- */
@media (prefers-color-scheme: light) {
  body {
    background: linear-gradient(135deg, #fdecef, #f6f9f7);
    color: #222;
  }

  .card {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  p {
    color: #666;
  }

  .primary {
    background: #ff7aa2;
    color: white;
  }

  .secondary {
    background: #f2f2f2;
    color: #333;
  }

  input,
  textarea {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #000;
  }

  input::placeholder,
  textarea::placeholder {
    color: #999;
  }

  input:focus,
  textarea:focus {
    outline: none;
    border-color: #ff7aa2;
  }

  .back {
    color: #888;
  }
}

/* ---------- DARK MODE ---------- */
@media (prefers-color-scheme: dark) {
  body {
    background: radial-gradient(circle at top, #1c1f26, #0f1115);
    color: #eaeaea;
  }

  .card {
    background: #161922;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.04);
  }

  p {
    color: #b6b6c2;
  }

  .primary {
    background: linear-gradient(135deg, #ff7aa2, #ff4d8d);
    color: white;
  }

  .secondary {
    background: #222534;
    color: #eaeaea;
  }

  input,
  textarea {
    background: #0f1118;
    border: 1px solid #2a2e40;
    color: #ffffff;
  }

  input::placeholder,
  textarea::placeholder {
    color: #6f7387;
  }

  input:focus,
  textarea:focus {
    outline: none;
    border-color: #ff7aa2;
  }

  .back {
    color: #8b8fa6;
  }

  .back:hover {
    color: #ffffff;
  }
}