:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --text: #333;
  --muted: #6b7280;
  --border: #e6ebf2;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 30px;
}

.login-container {
  display: flex;
  gap: 30px;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  flex-wrap: wrap;
}

.auth-card,
.info-card {
  background: var(--panel);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 300px;
}

.auth-card h2 {
  margin-top: 0;
  color: var(--text);
}

.auth-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.info-card {
  background: var(--panel-soft);
  border: 1px dashed #bfd3fb;
  margin-top: 24px;
}

.info-card h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.1rem;
}

.info-card ul {
  padding-left: 20px;
  color: var(--text);
  font-size: 0.95rem;
}

.info-card li {
  margin-bottom: 12px;
}

/* Standard Auth Form Styling */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.btn-submit {
  background: var(--primary);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: 0.2s;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

#authMessage {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.footer-text {
  color: var(--text);
  /* Uses your existing dark grey text */
  font-size: 1rem;
  margin: 20px 0 20px 0;
  line-height: 1.6;
}