/* Modern Auth Pages */
:root {
  --auth-primary: #bf1f40;
  --auth-primary-dark: #9a1833;
  --auth-bg: #f4f6f9;
  --auth-card: #ffffff;
  --auth-text: #1f2937;
  --auth-muted: #6b7280;
  --auth-border: #e5e7eb;
  --auth-radius: 16px;
  --auth-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #fff0f3 0%, #f4f6f9 50%, #eef2ff 100%);
  color: var(--auth-text);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.auth-page {
  width: 100%;
  max-width: 440px;
  padding: 24px;
}

.auth-card {
  background: var(--auth-card);
  border-radius: var(--auth-radius);
  box-shadow: var(--auth-shadow);
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.04);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo i, .auth-logo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}
.auth-logo i {
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(191,31,64,0.25);
}
.auth-logo img {
  padding: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.auth-logo h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 14px 0 4px;
  letter-spacing: -0.3px;
}
.auth-logo p {
  color: var(--auth-muted);
  font-size: 14px;
  margin: 0;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 4px;
  transition: .15s;
  font-family: inherit;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px rgba(191,31,64,0.08);
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}
.auth-options a {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 500;
}
.auth-options a:hover { text-decoration: underline; }

.auth-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.auth-btn:hover { opacity: .93; transform: translateY(-1px); }

.auth-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--auth-muted);
}
.auth-footer a {
  color: var(--auth-primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-alert {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid #fecaca;
}
.auth-alert.success {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
}
