/* ========== TELA DE LOGIN ========== */
.login-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-hover) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-box {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.login-header h1 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.login-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.password-input-group {
  position: relative;
}

.password-input-group input {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  outline: none;
}

.toggle-password:hover {
  color: var(--accent-primary);
}

.toggle-password:focus {
  color: var(--accent-primary);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

.input-group input {
  padding: 12px 16px;
  border: 1px solid var(--accent-primary);
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.input-group input:focus {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(18, 82, 138, 0.1);
}

.error-message {
  color: var(--error-color);
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  font-weight: 500;
}

.btn-primary {
  padding: 14px;
  background: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

