/* ═══════════════════════════════════════════════════════════
   ZOE Gateway — Login Screen
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #0c1222;
  color: #e2e8f0;
  min-height: 100vh; min-height: 100dvh;
}

.login-container {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(15, 118, 110, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    #0c1222;
}

.login-card {
  width: 100%; max-width: 400px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.login-brand-mark {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  color: white;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3);
}

.login-brand h1 {
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.5px;
  color: #f1f5f9;
}

.login-subtitle {
  font-size: 13px; color: rgba(148, 163, 184, 0.8);
  margin-top: 4px;
}

.login-info {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px; line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 20px;
}
.login-info strong { color: #e2e8f0; }

.login-field {
  margin-bottom: 14px;
}
.login-field label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}
.login-field input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
  color: #f1f5f9;
  font-size: 14px; font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.login-field input:focus {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.login-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px;
  border: none; border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.25);
  margin-top: 8px;
}
.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(15, 118, 110, 0.35);
}
.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.touchid-icon {
  flex-shrink: 0;
}

.login-status {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}
.login-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.login-status.success {
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.2);
  color: #5eead4;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.4);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .login-card { padding: 28px 20px; border-radius: 16px; }
  .login-brand-mark { width: 48px; height: 48px; font-size: 20px; }
  .login-brand h1 { font-size: 20px; }
}
