* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.auth-card h1 {
  margin: 0 0 24px;
  text-align: center;
  color: #0f172a;
  font-size: 28px;
}

.auth-description {
  margin: -8px 0 24px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.form-group input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #0f172a;
  transition: 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #1d4ed8;
}

button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

#message,
.message {
  min-height: 20px;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.message.success {
  color: #15803d;
}

.message.error {
  color: #dc2626;
}

.auth-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.auth-links.single {
  justify-content: center;
}

.auth-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}
