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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}
.auth-logo img { height: 48px; }

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: .4rem;
}

.auth-subtitle {
  color: #6b7280;
  font-size: .9rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .35rem;
}
.field input {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: .95rem;
  transition: border-color .15s;
  outline: none;
}
.field input:focus { border-color: #F5A623; box-shadow: 0 0 0 3px rgba(245,166,35,.15); }

button[type=submit] {
  width: 100%;
  padding: .7rem;
  background: #F5A623;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: .5rem;
  transition: background .15s;
}
button[type=submit]:hover { background: #e09520; }

.alert {
  padding: .6rem .9rem;
  border-radius: 8px;
  font-size: .875rem;
  margin-bottom: 1rem;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-info  { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.auth-links {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: #6b7280;
}
.auth-links a { color: #F5A623; text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
