body {
  min-height: 100vh;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
}

.login-wrap {
  width: 100%;
  max-width: 380px;
  padding: 1rem;
}

.login-card {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem;
  color: #1a1a1a;
}

.login-logo {
  width: 48px;
  height: 48px;
  background: #1e3a5f;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.login-card h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  color: #1a1a1a;
}

.login-card .subtitle {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 1.75rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.3rem;
}

.input-wrap {
  position: relative;
}

.input-wrap .bi {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.9rem;
  pointer-events: none;
}

.input-wrap input {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #1a1a1a;
  border-radius: 4px;
  padding: 0.55rem 0.75rem 0.55rem 2.25rem;
  font-size: 0.875rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.input-wrap input::placeholder {
  color: #9ca3af;
}

.input-wrap input:focus {
  background: #fff;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  color: #1a1a1a;
  outline: none;
}

.btn-login {
  background: #1e3a5f;
  border: none;
  border-radius: 4px;
  padding: 0.6rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: #fff;
  transition: background 0.15s;
}

.btn-login:hover {
  background: #16304f;
}

.btn-login:active {
  background: #112540;
}

.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 4px;
  font-size: 0.82rem;
}

.btn-login-toggle {
  background: #f3f4f6;
  border: 1px solid #d0d5dd;
  color: #6b7280;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s;
}

.btn-login-toggle:hover {
  background: #e5e7eb;
  color: #374151;
}

.btn-login-toggle.active {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #fff;
}
