@import url('main/reset.css');
@import url('main/root.css');

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--cor-principal);
  font-family: var(--fonte-principal);
}

/* Formulário */
.form-login {
  background-color: var(--cor-terciaria);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.6s ease forwards;
}

/* Cabeçalho */
.header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.header h1 {
  color: var(--cor-principal);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* Grupo de inputs */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.input-group label {
  font-weight: bold;
  text-transform: uppercase;
  color: var(--cor-principal);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.input-group i {
  margin-right: 6px;
  color: var(--cor-secundaria);
}

.input-group input {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f8f8fc;
  transition: border 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
  border-color: var(--cor-secundaria);
  box-shadow: 0 0 0 2px rgba(210, 174, 109, 0.2);
  outline: none;
}

/* Ações */
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.btn-login {
  background-color: var(--cor-principal);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-login i {
  margin-right: 8px;
  color: red;
}

.btn-login:hover {
  background-color: var(--cor-secundaria);
  color: var(--cor-terciaria);
  transform: scale(1.03);
}


/* Link de recuperação */
.link-recuperar {
  margin-top: 1rem;
  color: var(--cor-principal);
  text-decoration: none;
  font-size: 0.9rem;
}

.link-recuperar:hover {
  text-decoration: underline;
  color: red;
}

/* Animação de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}