/* Login page — standalone layout */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, #e3f2fd 0%, #fff8e1 45%, #f4f6f9 100%);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(21, 101, 192, 0.15);
  border: 2px solid rgba(21, 101, 192, 0.12);
}

.login-logo {
  text-align: center;
  margin-bottom: 1.25rem;
}

.login-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.login-title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1565c0;
}

.login-subtitle {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}

.login-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.login-field input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field input:focus {
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
  background: #fff;
}

.login-remember { margin-top: -0.25rem; }
.login-remember-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  min-height: 44px;
}
.login-remember-label input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.login-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.login-submit:active {
  transform: scale(0.98);
}

.login-captcha .captcha-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px dashed #94a3b8;
}

.captcha-img {
  display: block;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.captcha-math {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1565c0;
  direction: ltr;
  flex: 1;
  text-align: center;
}

.captcha-refresh {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.captcha-refresh:active {
  background: #bbdefb;
}

.captcha-input {
  letter-spacing: 0.15em;
  font-weight: 700;
  text-align: center;
  direction: ltr;
}
