/* config.cssssss*/
:root {
  --baseColor: #606468;
  --errorColor: #e74c3c;
  --successColor: #2ecc71;
  --primaryColor: #3498db;
  --primaryDark: #2980b9;
  --vueGreen: #27ae60;
  --vueDarkGreen: #219652;
}
 .login-header {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  align-items: center;     /* centraliza verticalmente */
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.071);
}

.logo-container {
  width: 150px;   /* largura máxima do logo */
  height: auto;
}

.logo-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Geometric shapes - Reduzidos */
.geometric-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 6px;
  opacity: 0.08;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 60px;
  height: 60px;
  background: var(--primaryColor);
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
  width: 40px;
  height: 40px;
  background: var(--vueGreen);
  top: 75%;
  left: 90%;
  animation-delay: 1s;
  border-radius: 50%;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: var(--primaryDark);
  top: 65%;
  left: 5%;
  animation-delay: 2s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-4 {
  width: 50px;
  height: 50px;
  background: var(--vueDarkGreen);
  top: 25%;
  left: 85%;
  animation-delay: 3s;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-5 {
  width: 35px;
  height: 35px;
  background: var(--primaryColor);
  top: 85%;
  left: 75%;
  animation-delay: 4s;
  border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
}

.shape-6 {
  width: 45px;
  height: 45px;
  background: var(--vueGreen);
  top: 20%;
  left: 10%;
  animation-delay: 5s;
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

/* helpers/align.css */
.align {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 0.5rem;
}

.grid {
  inline-size: 92%;
  margin-inline: auto;
  max-inline-size: 20rem;
  position: relative;
}

/* Login Header */
.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-text h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vueDarkGreen);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-text p {
  margin: 0.3rem 0 0 0;
  font-size: 0.75rem;
  color: var(--baseColor);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Form Title */
.form-title {
  text-align: center;
  margin-bottom: 1rem;
}

.form-title h2 {
  margin: 0;
  color: var(--loginColor);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Alert styles */
.alert {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  color: white;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  max-width: 85%;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
}

.alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.alert-error {
  background-color: var(--errorColor);
  border-left: 3px solid #c0392b;
}

.alert-success {
  background-color: var(--successColor);
  border-left: 3px solid #27ae60;
}

/* helpers/hidden.css */
.hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* helpers/icon.css */
:root {
  --iconFill: var(--baseColor);
}

.icons {
  display: none;
}

.icon {
  block-size: 0.9em;
  display: inline-block;
  fill: var(--iconFill);
  inline-size: 0.9em;
  vertical-align: middle;
}

/* layout/base.css */
:root {
  --htmlFontSize: 100%;
  --bodyBackgroundColor: #2c3338;
  --bodyColor: var(--baseColor);
  --bodyFontFamily: "Open Sans", sans-serif;
  --bodyFontFamilyFallback: sans-serif;
  --bodyFontSize: 0.8rem;
  --bodyFontWeight: 400;
  --bodyLineHeight: 1.4;
}

* {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: var(--htmlFontSize);
}

body {
  background: linear-gradient(135deg, #1a1f24 0%, #2c3338 100%);
  color: var(--bodyColor);
  font-family: var(--bodyFontFamily), var(--bodyFontFamilyFallback);
  font-size: var(--bodyFontSize);
  font-weight: var(--bodyFontWeight);
  line-height: var(--bodyLineHeight);
  margin: 0;
  min-block-size: 100vh;
  position: relative;
}

/* modules/anchor.css */
:root {
  --anchorColor: #eee;
}

a {
  color: var(--anchorColor);
  outline: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:focus,
a:hover {
  color: #fff;
  text-decoration: underline;
}

/* modules/form.css */
:root {
  --formGap: 0.8rem;
}

input {
  background-image: none;
  border: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  transition: all 0.3s ease;
}

input[type="submit"] {
  cursor: pointer;
  transition: all 0.3s ease;
}

.form {
  display: grid;
  gap: var(--formGap);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.8rem 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vueGreen), var(--primaryColor));
}

.form input[type="password"],
.form input[type="text"],
.form input[type="submit"] {
  inline-size: 100%;
}

.form__field {
  display: flex;
  position: relative;
}

.form__input {
  flex: 1;
}

/* modules/login.css */
:root {
  --loginBorderRadus: 0.6rem;
  --loginColor: #eee;
  --loginInputBackgroundColor: rgba(59, 65, 72, 0.8);
  --loginInputHoverBackgroundColor: rgba(67, 74, 82, 0.9);
  --loginInputFocusBackgroundColor: rgba(74, 82, 92, 0.95);
  --loginLabelBackgroundColor: rgba(54, 59, 65, 0.9);
  --loginSubmitBackgroundColor: var(--vueGreen);
  --loginSubmitColor: #eee;
  --loginSubmitHoverBackgroundColor: var(--vueDarkGreen);
}

.login {
  color: var(--loginColor);
}

.login label,
.login input[type="text"],
.login input[type="password"],
.login input[type="submit"] {
  border-radius: var(--loginBorderRadus);
  padding: 0.9rem;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
}

.login label {
  background-color: var(--loginLabelBackgroundColor);
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding-inline: 1.2rem;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.login input[type="password"],
.login input[type="text"] {
  background-color: var(--loginInputBackgroundColor);
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border: 1.5px solid transparent;
  border-left: none;
}

.login input[type="password"]:focus,
.login input[type="password"]:hover,
.login input[type="text"]:focus,
.login input[type="text"]:hover {
  background-color: var(--loginInputHoverBackgroundColor);
  border-color: rgba(39, 174, 96, 0.3);
}

.login input[type="password"]:focus,
.login input[type="text"]:focus {
  background-color: var(--loginInputFocusBackgroundColor);
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.15);
  outline: none;
}

.login input[type="submit"] {
  background-color: var(--loginSubmitBackgroundColor);
  color: var(--loginSubmitColor);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 0.8rem;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  padding: 1rem;
}

.login input[type="submit"]:focus,
.login input[type="submit"]:hover {
  background-color: var(--loginSubmitHoverBackgroundColor);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(39, 174, 96, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.login input[type="submit"]:active {
  transform: translateY(-1px);
}

/* modules/text.css */
p {
  margin-block: 1.2rem;
  color: #bdc3c7;
  font-size: 0.85rem;
}

.text--center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .align {
    padding: 0.5rem;
  }
  
  .grid {
    inline-size: 95%;
    max-inline-size: 18rem;
  }
  
  .form {
    padding: 1.5rem 1.2rem;
  }
  
  .login-header {
    margin-bottom: 1.2rem;
  }
  
  .logo-container {
    padding: 0.8rem 1.2rem;
  }
  
  .logo-text h1 {
    font-size: 1.5rem;
  }
  
  .logo-text p {
    font-size: 0.7rem;
  }
  
  .form-title h2 {
    font-size: 1rem;
  }
  
  .login label,
  .login input[type="text"],
  .login input[type="password"],
  .login input[type="submit"] {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
  
  .login label {
    padding-inline: 1rem;
  }
  
  .shape {
    transform: scale(0.6);
  }
  
  .alert {
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 320px) {
  .grid {
    inline-size: 98%;
    max-inline-size: 16rem;
  }
  
  .form {
    padding: 1.2rem 1rem;
  }
  
  .logo-text h1 {
    font-size: 1.3rem;
  }
  
  .login label,
  .login input[type="text"],
  .login input[type="password"],
  .login input[type="submit"] {
    padding: 0.7rem;
  }
}

/* Loading state */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--vueGreen);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Remove o link de problemas de acesso */
.text--center {
  display: none;
}