@import '../../base/variables.css';
@import '../../base/reset.css';

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

body {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-cream), #fdf5ef);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.login-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--card-shadow-strong);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 64px;
}

.brand h1 {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 2px;
  font-family: var(--font-body);
}

.brand p {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-light);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.45rem);
  margin-top: 8px;
  line-height: 1.04;
}

.helper {
  color: var(--text-light);
  line-height: 1.7;
}

.form-message {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.form-message.is-error {
  background: #ffe5e5;
  color: #8c1d1d;
}

.form-message.is-success {
  background: #e6f7ea;
  color: #245b34;
}

.form-message.is-info {
  background: #eef3ff;
  color: #294f8f;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 700;
}

input {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fffaf7;
  font-size: 15px;
}

button {
  margin-top: 8px;
  background: var(--brand-brown);
  border: none;
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--brand-brown-dark);
}

.login-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.login-links a {
  text-decoration: none;
  color: var(--brand-brown);
  font-weight: 700;
  text-align: center;
}

.login-links a:hover {
  text-decoration: underline;
}
