:root {
  --bg-1: #f4f9f6;
  --bg-2: #d8efe5;
  --card: #ffffff;
  --text: #16342f;
  --muted: #4a6f66;
  --accent: #0f766e;
  --accent-dark: #0a4f4a;
  --danger: #b42318;
  --ok: #0d7a35;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(15, 118, 110, 0.15);
  --font-main: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #ffffff 0%, transparent 35%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2));
}

.app-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(100%, 440px);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transform: translateY(10px);
  opacity: 0;
  animation: reveal 420ms ease forwards;
}

h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 700;
}

input {
  width: 100%;
  font-size: 1rem;
  border: 1px solid #9fc2ba;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

small {
  color: var(--muted);
}

button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #149a91, var(--accent));
  color: #ffffff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #11a39a, var(--accent-dark));
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 600;
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--ok);
}

@keyframes reveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 20px;
  }

  .row {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}
