/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Open Sans', sans-serif;
}


.topTitle { 
  text-align: center;
  padding: 1rem 1rem 0;
  font-family: "Frijole", serif;
  font-size: 1.8rem;
}

.setImg { 
  display: flex;
  justify-content: center;

}
.setImg img { 
  width: 7rem;
  border-radius: 1rem;
}
/* Container centralizado */
.auth-container {
  width: 100%;
  max-width: 400px;
  margin: 50px .2rem;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Form containers */
.form-container {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.form-container.active {
  display: block;
}

/* Headings */
h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Input groups */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #2c2c2c;
  color: #e0e0e0;
  transition: border 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
  outline: none;
}

/* Estados de validação */
.input-group input.invalid {
  border-color: red;
  box-shadow: 0 0 5px red;
}
.input-group input.valid {
  border-color: green;
  box-shadow: 0 0 5px green;
}

/* Password group */
.password-group {
  position: relative;
}
.password-group .toggle-password {
  position: absolute;
  right: 10px;
  top: 70%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
}

/* .toggleLoginPassword { 
 margin-top: 10rem;
} */

/* Checkbox group */
.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.checkbox-group input {
  margin-right: 5px;
}

/* Botões */
.action-btn {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #555; /* padrão */
  background-color: #000; /* padrão */
  color: #e0e0e0;
  cursor: pointer;
  transition: border 0.3s;
}
.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.action-btn.active {
  border-color: #9b59b6; /* roxo quando os inputs estão preenchidos */
}

/* Switch message */
.switch-message {
  text-align: center;
  margin-top: 15px;
}
.switch-message a {
  color: #9b59b6;
  text-decoration: none;
  cursor: pointer;
}

.alignAuthContainer { 
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsividade */
@media (max-width: 480px) {
  .auth-container {
    margin: 50px .5rem;
    padding: 15px;
  }
}
