* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: #070b10;
  color: #e4eaf2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-card {
  background: #0f1723;
  border: 1px solid #1c2738;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.brand-icon {
  font-size: 24px;
  background: #1c2738;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}
p.subtext {
  font-size: 13px;
  color: #8b9bb4;
  margin-top: 4px;
}
.form-group {
  margin-bottom: 18px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #9cb1cc;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
input {
  width: 100%;
  background: #090e15;
  border: 1px solid #233246;
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus {
  border-color: #3b82f6;
}
.btn-submit {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}
.btn-submit:hover {
  background: #1d4ed8;
}
.btn-submit:disabled {
  background: #1e3a8a;
  opacity: 0.6;
  cursor: not-allowed;
}
.error-box {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-size: 13px;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 18px;
}
.footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: #556987;
}


.btn-home {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top: 16px;
}
.btn-home:hover {
  background: #1d4ed8;
}
.error-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.error-details {
  font-size: 13px;
  color: #8b9bb4;
  line-height: 1.5;
  margin-bottom: 8px;
}
.error-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}
