/*
 * login.css — Login page styles
 * Intentionally minimal — this is a daily-use gate, not a landing page.
 * Fast to load, fast to fill in, fast to get through.
 */

.login-page {
  min-height: 100vh;
  background-color: #0d0d0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 36px 28px;
  animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-monogram {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.login-monogram span {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.login-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.login-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--accent-border);
  background: rgba(255, 255, 255, 0.07);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.20);
}

/* Autofill override — browsers inject ugly yellow background */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 100px #1a1a1a inset;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.1s;
}

.form-submit:hover {
  opacity: 0.90;
}

.form-submit:active {
  transform: scale(0.98);
}

.login-error {
  background: rgba(226, 75, 74, 0.12);
  border: 1px solid rgba(226, 75, 74, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #f09595;
  margin-bottom: 16px;
  text-align: center;
}

.login-timeout {
  background: rgba(201, 149, 76, 0.10);
  border: 1px solid rgba(201, 149, 76, 0.20);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.login-back {
  display: block;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
  margin-top: 20px;
  transition: color 0.2s;
}

.login-back:hover {
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
}
