/* ===== Login screen - fundo preto, amarelo Monfer ===== */

#loginScreen {
  background: #000000;
  padding: 1rem;
}

.login-bg-overlay {
  background-image:
    radial-gradient(ellipse at 30% 0%, rgba(234,179,8,0.06) 0, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(234,179,8,0.04) 0, transparent 50%);
  opacity: 1;
}

.login-container {
  max-width: 26rem;
  animation: loginFadeIn 0.6s ease-out;
}

@keyframes loginFadeIn {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card {
  border-radius: 1.25rem;
  background: #111111;
  box-shadow:
    0 0 0 1px rgba(234,179,8,0.1),
    0 20px 50px -12px rgba(0,0,0,0.6);
}

.login-card-header {
  padding: 2rem 2rem 1rem;
  background: #111111;
  border-bottom: 1px solid rgba(234,179,8,0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.login-logo-wrapper {
  width: 56px;
  height: 56px;
  min-width: 56px;
  margin: 0;
  border-radius: 0.75rem;
  background: #000000;
  border: 1.5px solid rgba(234,179,8,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.login-logo-wrapper img {
  height: 2rem !important;
  width: auto;
  filter: none !important;
}

.login-header-text {
  flex: 1;
}

.login-title {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #eab308;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.login-subtitle {
  margin-top: 0 !important;
  font-size: 0.7rem !important;
  color: rgba(255,255,255,0.4) !important;
}

.login-card-body {
  padding: 1.5rem 2rem 2rem !important;
  background: #111111;
}

.login-field label {
  color: #eab308 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.login-input-wrapper {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: rgba(234,179,8,0.4);
  pointer-events: none;
}

.login-input-wrapper input {
  padding-left: 2.5rem !important;
}

.login-field input {
  border-radius: 0.625rem;
  padding: 0.75rem 0.875rem;
  font-size: 0.9rem;
  border: 1.5px solid #333333;
  background: #0a0a0a;
  color: #f5f5f5;
  transition: all 0.2s ease;
}

.login-field input::placeholder {
  color: #555555 !important;
}

.login-field input:focus {
  border-color: #eab308;
  box-shadow: 0 0 0 3px rgba(234,179,8,0.1);
  background: #0a0a0a;
}

.login-btn {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 0.625rem;
  background: #eab308;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 14px -3px rgba(234,179,8,0.3);
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: #facc15;
  box-shadow: 0 6px 20px -3px rgba(234,179,8,0.45);
  transform: translateY(-1px);
}

.login-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(234,179,8,0.25);
}

.login-btn:active {
  transform: translateY(0px);
  background: #ca8a04;
}

.login-btn svg {
  color: #000000;
}

.login-footer {
  margin-top: 2rem !important;
  font-size: 0.65rem !important;
  color: rgba(234,179,8,0.25) !important;
}

#loginError {
  background: #1a0000 !important;
  border-color: #7f1d1d !important;
  color: #fca5a5 !important;
}

@media (max-width: 480px) {
  .login-container { max-width: 100%; }
  .login-card { border-radius: 1rem; }
  .login-card-header { padding: 1.5rem 1.5rem 0.75rem; }
  .login-card-body { padding: 1.25rem 1.5rem 1.5rem !important; }
  .login-logo-wrapper { width: 48px; height: 48px; min-width: 48px; }
  .login-title { font-size: 1.2rem; }
}
