/* Login Screen Styles */

.login-page {
  background-color: #a0aec0;
  /* Fundo cinza-azulado externo (como no Print 3/4) */
  background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  display: flex;
  width: 960px;
  height: 620px;
  background-color: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 20px 40px -15px rgba(28, 60, 95, 0.3);
  overflow: hidden;
}

/* Coluna Esquerda: Ilustração e Branding */
.login-left-panel {
  background-color: var(--primary-color);
  width: 45%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: var(--text-white);
}

.login-left-panel::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.login-brand {
  display: flex;
  align-items: center;
}

.login-logo-img {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.login-illustration-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.login-illustration-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;

}


/* Coluna Direita: Formulários */
.login-right-panel {
  width: 55%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.login-header {
  margin-bottom: 24px;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-subtitle strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
  justify-content: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background-color: #f8fafc;
}

.form-input:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3.5px rgba(28, 60, 95, 0.1);
  outline: none;
}

.password-toggle {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.password-toggle:hover {
  color: var(--primary-color);
}

.password-toggle svg {
  position: static;
  width: 18px;
  height: 18px;
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(28, 60, 95, 0.15);
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(28, 60, 95, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Google Login Style (RH/DP) */
.google-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 24px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 12px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.925rem;
  font-weight: 500;
  color: #374151;
  transition: var(--transition-normal);
}

.btn-google:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-google svg {
  width: 20px;
  height: 20px;
}

/* Footer Links and Credits */
.login-links {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.login-links a {
  color: var(--primary-light);
  font-weight: 600;
}

.login-links a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.login-footer-credits {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .login-container {
    width: 100%;
    max-width: 440px;
    height: auto;
    flex-direction: column;
  }

  .login-left-panel {
    display: none;
    /* Oculta a ilustração em telas pequenas para focar no login */
  }

  .login-right-panel {
    width: 100%;
    padding: 32px 24px;
  }
}