@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f4f0;
  color: #1a1917;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-wrap { width: 100%; max-width: 420px; }

.auth-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 600; margin-bottom: 1.5rem;
  justify-content: center;
}
.auth-brand .dot {
  width: 10px; height: 10px; background: #2d7a4f; border-radius: 50%;
}

.auth-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.auth-card h1 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: #888; margin-bottom: 1.5rem; }

label {
  display: block; font-size: 13px; font-weight: 500;
  color: #555; margin-bottom: 4px; margin-top: 14px;
}
label:first-of-type { margin-top: 0; }

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: #1a1917; background: #fff; outline: none;
  transition: border-color 0.15s;
}
input:focus { border-color: #2d7a4f; }

.btn-primary {
  width: 100%; margin-top: 1.25rem;
  background: #1a1917; color: #fff;
  border: none; border-radius: 8px;
  padding: 11px 18px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }

.auth-alt { font-size: 13px; color: #888; text-align: center; margin-top: 1.25rem; }
.auth-alt a { color: #2d7a4f; text-decoration: none; font-weight: 500; }

.alert-error {
  background: #fee2e2; color: #991b1b;
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; margin-bottom: 1rem;
}
.alert-error a { color: #991b1b; }
.alert-warn {
  background: #fff3cd; color: #856404;
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; margin-bottom: 1rem;
}
