/* ---------- Login page ---------- */
.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #13499a 0%, #1a6fc4 100%);
  display: flex;
  flex-direction: column;
}

.back-link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.back-link:hover { opacity: 1; text-decoration: underline; }

.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 40px 36px;
  color: #1f2a44;
}

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

.login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #1a6fc4;
  border-radius: 50%;
  margin-bottom: 16px;
}
.login-icon svg { width: 36px; height: 36px; }

.login-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #13499a;
}

.login-sub {
  font-size: 14px;
  color: #6b7790;
  margin: 0;
  line-height: 1.5;
}

.login-sub strong {
  color: #1f2a44;
  word-break: break-all;
}

.alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert-error { background: #fdecec; color: #9a1f1f; border-color: #f3b9b9; }

.login-form { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #34405a;
  margin-top: 12px;
}

.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #cdd5e3;
  border-radius: 6px;
  background: #f7f9fc;
  color: #1f2a44;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.login-form input:focus {
  border-color: #1a6fc4;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 111, 196, 0.18);
}

.login-btn {
  margin-top: 22px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #1a6fc4;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}
.login-btn:hover { background: #155fa8; }
.login-btn:active { transform: translateY(1px); }

@media (max-width: 480px) {
  .login-card { padding: 32px 24px; }
  .login-header h1 { font-size: 21px; }
}
