
* { box-sizing: border-box; }

body.auth-body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: #0c0d10;
  color: #f2f3f5;
  min-height: 100vh;
}

body.auth-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 30% 0%, rgba(240, 180, 41, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(123, 158, 196, 0.08), transparent 50%);
}

.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(24, 26, 33, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  animation: authIn 0.5s ease-out;
}

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

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.auth-mark {
  width: 40px;
  height: 40px;
  display: block;
}

.auth-card h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: #9ca3b0;
  margin: 0 0 1.75rem;
  font-size: 14px;
}

.auth-error {
  background: rgba(240, 113, 120, 0.1);
  border: 1px solid rgba(240, 113, 120, 0.3);
  color: #f07178;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 13px;
}

.auth-card label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3b0;
}

.auth-card input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #14151a;
  color: #f2f3f5;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-card input:focus {
  outline: none;
  border-color: #f0b429;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.15);
}

.auth-card button[type="submit"] {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.25rem;
  background: linear-gradient(180deg, #ffc94d, #f0b429);
  color: #1a1200;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(240, 180, 41, 0.3);
  transition: filter 0.15s, transform 0.12s;
}

.auth-card button[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
