/* Minimal, framework-free styles for auth pages */
:root {
  color-scheme: dark;
  --bg: #0f172a; /* slate-900 */
  --panel: #111827; /* gray-900 */
  --panel-2: #0b1220; /* darker */
  --text: #e5e7eb; /* gray-200 */
  --muted: #9ca3af; /* gray-400 */
  --primary: #2563eb; /* blue-600 */
  --primary-2: #1d4ed8; /* blue-700 */
  --danger: #ef4444; /* red-500 */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.03);
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 50% -200px, #1e293b, transparent 60%),
              radial-gradient(700px 500px at 120% 20%, #0b1430, transparent 40%),
              var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.auth-container {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)) padding-box,
              radial-gradient(120% 120% at 0% 0%, rgba(37,99,235,.4), rgba(255,255,255,0)) border-box,
              var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

@media (min-width: 480px) {
  .auth-card { padding: 2rem; }
}

.auth-title {
  margin: 0 0 .25rem 0;
  font-size: 1.75rem;
  letter-spacing: .2px;
}
.auth-subtitle { color: var(--muted); margin: 0 0 1rem 0; font-size: .95rem; }

.auth-content { margin-top: .5rem; }

/* Alerts */
.alert { border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1rem; }
.alert-danger { background: rgba(239,68,68,.12); color: #fecaca; border: 1px solid rgba(239,68,68,.35); }

/* Form elements */
label { display: block; margin: .66rem 0 .35rem; font-weight: 500; }
input[type="email"], input[type="password"], input[type="text"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], select {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--panel-2);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--text);
  padding: .66rem .8rem;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus {
  border-color: rgba(37,99,235,.65);
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}

select option {
  background-color: var(--panel-2);
  color: var(--text);
}

/* Checkbox */
input[type="checkbox"] { width: auto; margin-right: .5rem; accent-color: var(--primary); }

/* Buttons (keeps Bootstrap-like class names used in templates/tests) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 10px; cursor: pointer; padding: .7rem 1rem; font-weight: 600; }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-2)); color: white; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-lg { padding: .85rem 1.1rem; font-size: 1rem; width: 100%; }

/* Small helper links */
.auth-actions { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; color: var(--muted); }
.auth-actions a { color: #93c5fd; text-decoration: none; }
.auth-actions a:hover { text-decoration: underline; }
