/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  color: #1e1e1e;
}

.material-symbols-outlined {
  font-size: 28px;
}

.text-business {
  font-weight: 900;
  color: #eeeeee;
}
.text-intelligence {
  font-weight: 100;
  color: #eeeeee;
}
.text-on-demand {
  font-weight: 600;
  color: #FF0042;
}

/* Container principal */
.login-container {
  display: flex;
  height: 100vh;
}

/* --- Painel Esquerdo --- */
.login-left {
  flex: 2;
  position: relative;
  display: flex;
  align-items: center;
  /* Degradê diagonal: preto para vermelho */
  overflow: hidden;
  background: #1E1E1E;
  background: linear-gradient(40deg, #1E1E1E 0%, #251216 60%, #bb133f 100%);
  
}

/* Sobreposição do grafismo de linhas */
.login-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bg_line.svg") center/cover no-repeat;
}

/* Conteúdo do painel esquerdo */
.login-left-content {
  position: relative;
  padding: 0 5rem;
  width: 100%;
}

.login-left-text {
  color: #eeeeee;
  font-size: 2rem;
}

.divisor{
  border: 0;
  border-bottom: solid 1px #eeeeee;
  margin: 0.75rem 0;
}

/* --- Painel Direito --- */
.login-right {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eeeeee;
  padding: 2rem;
}

/* Conteúdo centralizado */
.login-right-inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* Logo */
.login-right-logo {
  margin-bottom: 3rem;
  width: 250px;
  height: auto;
}

/* Formulário de login */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .input-group {
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Campos de entrada */
.login-form .input-group input::placeholder {
  color: #bababa;
}

.login-form .input-group input[type="text"],
.login-form .input-group input[type="password"] {
  padding: 1rem 3rem;
  border: 1px solid #bababa;
  border-radius: 4px;
  font-size: 1rem;
  background-color: transparent;
  width: 100%;
}

.login-form .input-group .label-form{
  position: absolute;
  left: 46px;
  top: -15px;
  font-size: 0.9rem;
  background-color: #eeeeee;
  padding: 5px 10px;
}

.login-form .input-group .icon-form {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #bababa;
}

.sc-ui-pwd-toggle-icon{
	position: absolute;
	top: 13px;
	right: 13px;
	color: #bababa;
	cursor: pointer;
}

/* Opções de lembrar-me e recuperar senha */
.login-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.class-retrieve_pswd > a  {
  color: #FF0042;
  text-decoration: none;
}

/* Botão Entrar */
.login-form-submit {
  padding: 1rem;
  background-color: #FF0042;
  color: #eeeeee;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  font-weight: 700;
  width: 100%;
}

.login-form-submit:hover {
  background-color: #1e1e1e;
}

.title-mobile{
  display: none;
}

.alert-message.negative.active{
	position: absolute;
    top: 0;
    background-color: #9C27B0;
    padding: 1rem;
    display: flex;
    width: 100%;
	color: #eeeeee;
}

/* ===== Responsividade - Mobile ===== */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-left {
    display: none; /* Esconde o painel esquerdo no mobile */
  }

  .title-mobile{
    display: block;
    font-size: 1.6em;
    margin: 0.4rem;
  }

  .login-right {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: linear-gradient(40deg, #1E1E1E 0%, #251216 60%, #bb133f 100%);
    color: #1E1E1E;
    padding: 2rem 1rem;
    justify-content: center;
  	z-index: 0;
  }

  .login-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/bg_line.svg") center/cover no-repeat;
  	z-index: -1;
  }

  .login-right-inner {
    max-width: 100%;
    background-color: #eeeeee;
    padding: 2rem 1rem;
  }

  .login-right-logo {
    width: 200px;
    margin-bottom: 2rem;
  }

  .login-form-submit {
    width: 100%;
  }
}
