/* tsl_auth.css */
/* Designed to sit ON TOP of your main site CSS (tsl207.css / tsl209.css) */

.auth-page {
  min-height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  padding: 36px 16px 70px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.22);
  overflow: hidden;
}

.auth-card__header {
  padding: 18px 18px 10px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, rgba(15,23,42,0.02), rgba(15,23,42,0.06));
}

.auth-title {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  color: #0f172a;
  text-align: center;
}

.auth-subtitle {
  margin: 8px 0 0;
  font-size: 13px;
  color: #334155;
  text-align: center;
}

.auth-card__body {
  padding: 18px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-label {
  font-size: 12px;
  font-weight: 650;
  color: #0f172a;
  margin: 2px 0 -6px;
}

.auth-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5f5;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
}

.auth-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96,165,250,0.25);
}

.auth-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.35;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  padding: 11px 12px;
  border: 1px solid #1f2937;
  border-radius: 999px;

  background: #0f172a;
  color: #f9fafb;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.auth-btn:hover {
  background: #111827;
  border-color: #60a5fa;
}

.auth-btn:active {
  transform: scale(0.99);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: #64748b;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5e7eb;
}

.auth-btn--google {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5f5;
}

.auth-btn--google:hover {
  border-color: #60a5fa;
  background: #f8fafc;
}

.auth-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #334155;
  font-size: 13px;
}

.auth-footer a {
  color: #0369a1;
  text-decoration: none;
  font-weight: 650;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.35;
}

.auth-alert--error {
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.25);
  color: #7f1d1d;
}

.auth-alert--success {
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.25);
  color: #14532d;
}

/* Small screens: keep the same logic */
@media (max-width: 768px){
  .auth-page { padding-top: 26px; }
}
