/* Shared styles for the standalone auth pages (login, register).
 * Both templates render the same form shell — card centered on a dark
 * background — so the shell lives here once instead of being copy-pasted.
 *
 * Page-specific markup (telegram widget, extra links, error text) stays
 * inline in each template.
 */

body {
  background: #0f1117;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: #1a1b23;
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #2a2b35;
}

.logo {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.logo span { color: #60a5fa; }

.subtitle {
  color: #8b95a5;
  margin-bottom: 32px;
  text-align: center;
  font-size: 14px;
}

.error {
  background: #7f1d1d;
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: #0f1117;
  border: 1px solid #2a2b35;
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 14px;
}
.form-input:focus {
  outline: none;
  border-color: #2563eb;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.btn-submit:hover { background: #1d4ed8; }
