:root {
  --ltext-color: #333333;
  --plcolor: #1e81b0;
  --background-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --button-hover-color: #155a75;
  --input-border-color: #e1e5e9;
  --input-focus-color: #1e81b0;
  --shadow-color: rgba(0, 0, 0, 0.15);
  --error-color: #e74c3c;
  --success-color: #27ae60;
}

body {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  background: var(--background-color);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  box-sizing: border-box;
}

.logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}

#brand-name {
  font-weight: bolder;
  color: white;
  font-size: 3em;
}

.logo-section img {
  max-width: 100px;
  max-height: 100px;
  align-items: center;
}

.login-section {
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 20px 40px var(--shadow-color);
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Garantir que o formulário não altere o layout */
#login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.login-input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  margin-bottom: 20px;
}

.login-input-group label {
  font-weight: 500;
  color: var(--ltext-color);
  font-size: 14px;
  margin-bottom: 5px;
}

.login-input {
  width: 100%;
  height: 50px;
  font-size: 16px;
  border-radius: 12px;
  padding: 0 20px;
  border: 2px solid var(--input-border-color);
  margin-bottom: 0;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

.login-input::placeholder {
  color: #999;
  font-size: 14px;
}

.login-input:focus {
  outline: none;
  border-color: var(--input-focus-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(30, 129, 176, 0.1);
  transform: translateY(-2px);
}

.login-button {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  padding: 0 20px;
  background: linear-gradient(
    135deg,
    var(--plcolor) 0%,
    var(--button-hover-color) 100%
  );
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 129, 176, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

.login-options {
  color: var(--ltext-color);
  text-decoration: none;
  width: 100%;
  margin-top: 0;
  font-size: 14px;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.login-options a {
  color: var(--plcolor);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.login-options a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--plcolor);
  transition: width 0.3s ease;
}

.login-options a:hover {
  color: var(--button-hover-color);
}

.login-options a:hover::after {
  width: 100%;
}

/* Responsividade */
@media (max-width: 480px) {
  body {
    flex-direction: column;
  }

  .login-section {
    padding: 30px 20px;
    margin: 20px;
    max-width: 90%;
  }

  .login-input,
  .login-button {
    height: 45px;
    font-size: 14px;
  }

  .login-input-group {
    gap: 15px;
    margin-bottom: 25px;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-section {
  animation: fadeInUp 0.6s ease-out;
}
