/* CSS RESPONSAVEL PELA TELA DE LOGIN */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  overflow-x: hidden;
}

/* --------------- MAIN CONTAINERS --------------- */

.main-container { /* Fundo da Pagina */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1em;
  background-color: whitesmoke;
}

.login-container { /* Fundo e o card do banner e do Formulario */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  border-radius: 1em;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1), 
  0 6px 8px rgba(0, 0, 0, 0.12);
}

/* --------------- PRESETS CLASS ---------------*/
.center-text {
  justify-content: center;
  align-items: center;
  align-content: center;
  justify-items: center;
  text-align: center;
}


/* --------------- BANNER SIDE --------------- */

.banner-login {
  flex: 0 0 40%;
  min-width: 280px;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

#carouselLogin{
  width: 100%;
  height: 100%;
}

.carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  display: block;
  z-index: 1;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 2;
}

.carousel-inner {
  padding-bottom: 3em;
}

.carousel-indicators {
  position: absolute;
  bottom: 10em;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 9999;
}

.carousel-indicators [data-target] {
  background-color: #f3f3f3;
  width: 1em;
  height: 0.2em;
  border-radius: 1vh;
  opacity: 0.3;
  transition: opacity 0.9s ease;
}

.carousel-indicators .active {
  opacity: 1;
}

.TituloBanner{
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 3px 6px rgba(0, 0, 0, 0.3);
}

.banner-login h4,
.banner-login p {
  color: white;
}

 /* --------------- LOGIN FORM --------------- */

.loginform {
  flex: 1;
  min-width: 300px;
  height: 100%;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.back-text-enterprise{
  position: relative;
  left: -30%;
  color: rgb(158, 158, 158);
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
  padding: 0.3%;
}

.back-text-enterprise:hover{
  color: rgb(18,118,145);
  transform: scale(1.06);
}

.nextlogo {
  margin-bottom: 1em;
  width: 100%;
  max-width: 450px;
}

.first-title {
  font-size: 2.4em;
  font-weight: bold;
  margin-bottom:0.3em;
  color:rgb(18,118,145);
}

.second-title {
  font-size: 1em;
  margin-bottom: 1%;
}

.nextlogo img {
  width: 100%;
  height: auto;
}

.form-group{
  position: relative;
}

.inputs-css {
  font-size: 1.1em !important;
  margin-bottom: -1.7em !important;
  width: 60vh;
  user-select: none !important; 
  max-width: 700px;
  border: none;
  color: black;
  border-radius: 0.8em;
  background-color: rgb(238, 238, 238);
  padding: 2em !important;
  outline: none;
  transition: all 0.2s ease;
}

.inputs-css:hover{
  background-color: rgb(207, 207, 207);
  font-weight: bold;
}

.inputs-css:focus {
  box-shadow: none;
  font-weight: bold;
  background-color: rgb(238, 238, 238);
  border-bottom: 1px solid #3498db;
  border-right: 1px solid #3498db;
}

.input-password{
  padding-right: 40px;
}

.toggle-password-view {
  position: absolute;
  cursor: pointer;
  top: 25px;
  right: 20px;
  width: 24px;
  height: 24px;
  opacity: calc(50%);
  user-select: none;
  transition: all 0.6s ease;
}

.toggle-password-view:hover{
  opacity: calc(100%);
  transform: scale(1.1);
}

.alert-message{
  position: relative;
  justify-items: center;
  top: 0;
  right: 0;
  width: 100%;
  height: 10%;
  margin-bottom: -1em;
  z-index: 9999;
  animation: fade 8s forwards;
}

#alert-Box{
  width: 100%;
  font-weight: bold;
  color: #f3f3f3;
  background-color: rgb(255, 95, 95);
  animation: fade 10s ease-in forwards;
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.button-div {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1%;
}

.btn-login {
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 2em;
  height: 3.5em;
  width: 100%;
  max-width: 300px;
  font-size: 1.1em;
  background: linear-gradient(to left, #13a1de,#127691 );
  
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1), 
              0 6px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.9s ease;
}

.btn-login:hover {
  transform: scale(1.04);
}

.support-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100% !important;
  height: 8% !important; 

}

.support-div img {
  width: 40px;
  margin-top: 0 !important;
  height: 8% !important; 
  max-width: 40px !important; 
  transition: all 0.9s ease;
}

.support-div img:hover{
  transform: scale(1.1);
}

.tn-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin-top: 5%;
}


.center-text img {
  margin-top: 1rem;
  width: 140px;
  height: 50px;
}

/* SELECT ENTERPRISE FORM */

.input-enterprise-css{
  font-size: 1.1em !important;
  margin-bottom: 1em !important;
  width: 60vh;
  max-width: 700px;
  border-radius: 0.8em;
  padding: 2em !important;
  background-color: rgb(238, 238, 238);
  user-select: none !important; 
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

.input-enterprise-css:focus {
  font-weight: bold;
  border-bottom: 2px solid #3498db;
  background-color: rgb(238, 238, 238);
  outline: none;
  box-shadow: none;
}

.combobox-enterprise-css{
  font-size: 1.1em !important;
  margin-bottom: 0.2em !important;
  padding-left: 6% !important;
  width: 60vh;
  max-width: 700px;
  border-radius: 0.8em;
  height: 7vh;
  background-color: rgb(238, 238, 238);
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1em;
  user-select: none !important; 
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.1s ease;
}

.combobox-enterprise-css:focus {
  outline: none;
  background-color: rgb(238, 238, 238);
  box-shadow: none;
  font-weight: bold;
    border-bottom: 1px solid #3498db;
  border-right: 1px solid #3498db;
}

.combobox-enterprise-css:hover{
  background-color: rgb(207, 207, 207);
  font-weight: bold;
}

/* -----------------MEDIA QUERIES (width) ------------------- */

/* Telas extra pequenas ( >= 576px) */
@media (max-width: 575.98px) {

  .nextlogo img {
    width: 100%;
    height: auto;
  }

  .first-title {
    font-size: 2em !important;
  }

  .second-title {
    font-size: 1.2em;
    text-align: center;
  }

  .inputs-css {
    padding: 1em;
    font-size: 0.9em;
  }

  .input-enterprise-css {
    padding: 1em;
    font-size: 0.9em;
  }

  .combobox-enterprise-css{
    font-size: 0.9em;
  }
}

/* Esconder banner em dispositivos pequenos */
@media (max-width: 767.98px) {

  .login-container {
    flex-direction: column;
    min-height: auto;
  }

  .banner-login {
    display: none !important;
  }

  .loginform {
    width: 100%;
    padding: 2em 1em;
  }

  .nextlogo {
    max-width: 280px;
    margin: 0 auto 1em auto;
  }

  .inputs-css{
    max-width: 100%;
    width: 100%;
    height: 7vh;
    font-size: large;
  }

  .input-enterprise-css{
    max-width: 100%;
    width: 100%;
    height: 7vh;
    font-size: large;
  }

  .combobox-enterprise-css{
    max-width: 100%;
    width: 100%;
    height: 7vh;
    font-size: large;
  }

  .btn-login {
    max-width: 100%;
    margin-top: 3vh;
    width: 100%;
    font-size: medium;
  }

  .support {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
  }

  #chaticon {
    margin-left: 0;
  }
}

/* Telas médias (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {

  .nextlogo {
    max-width: 280px;
    margin: 0 auto 1em auto;
  }

  .login-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .banner-login {
    display: none !important;
  }

  .loginform {
    flex: 0 0 100%;
    padding: 2em;
  }

  .carousel-indicators {
    display: none !important;
  }
  
}

/* Telas grandes (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nextlogo {
    max-width: 280px;
    margin: 0 auto 1em auto;
  }

  .login-container {
    width: 100%;
    max-width: 960px;
    height: 87vh;
  }

  .inputs-css {
    max-width: 30em;
  }

  .input-enterprise-css {
    max-width: 30em;
  }

  .combobox-enterprise-css {
    max-width: 30em;
  }

  .btn-login {
    max-width: 250px;
  }
}

/* Telas extra grandes (≥1200px) */
@media (min-width: 1200px) { /*PAC 59094*/
  .login-container {
    width: 970px;
    max-width: 970px;
    height: 550px;
    max-height: 550px;
    margin: 0 auto;
  }

  .loginform {
    padding: 0em;
    margin: 0em;
    justify-content: flex-start;
    overflow-y: hidden;
  }

  .back-text-enterprise{
    position: relative;
    left: -37%;
    color: rgb(158, 158, 158);
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    padding: 0em;
    margin: 0;
    padding-top: 0.7em;
  }

  .nextlogo {
    max-width: 300px;
    margin-bottom: 0em;
    margin-top: 0em;
  }

  .first-title {
    font-size: 1.5em;
    margin-bottom: 0em;
  }

  .second-title {
    font-size: 0.9em;
    margin-bottom: 0em;
  }

  .inputs-css,
  .input-enterprise-css,
  .combobox-enterprise-css {
    /* max-width: 100%;
    padding: 1.8em !important;
    font-size: 1em !important;
    margin-bottom: 0.8em !important; */
    max-width: 30em;
    font-size: 1em !important;
  }

  .btn-login {
    height: 3em;
    font-size: 1em;
    max-width: 250px;
    margin-top: 0em;
  }

  .support-div {
    gap: 1.2em;
    margin-top: 0.5em;
  }

  .support-div img {
    width: 32px;
    max-width: 32px;
    height: auto;
  }

  .tn-logo {
    margin-top: 0.5em;
    gap: 1em;
  }

  .tn-logo img {
    width: 120px;
    height: auto;
  }

  p {
    font-size: 1em;
  }

  .carousel-item {
    width: 100%;
    height: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0em;
  }
}

/* -----------------MEDIA QUERIES (height) ------------------- */

@media (max-height: 768px) {
  .nextlogo {
    max-width: 350px;
    margin: 0 auto 0em auto;
  }

    .first-title {
    font-size: 1.6em !important;
  }

  .second-title {
    font-size: 1em;
    text-align: center;
  }

  .login-container {
    width: 90%;
    max-width: 1920px;
    height: 90vh;
    margin: 0 auto;
  }

  .inputs-css {
    max-width: 60em;
    padding: 1em;
  }

  .input-enterprise-css {
    max-width: 60em;
  }

  .combobox-enterprise-css{
    max-width: 60em;
  }

  .btn-login {
    margin-top: 0em;
    max-width: 250px;
  }

  p{
    font-size: 0.8em;
  }

  .tn-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  margin-top: 0em;
  }
}

@media (max-height: 701px) {
   p{
    display: none;
  }

  .support-div {
  margin-top: 5%;
  }
}

@media (min-height: 900px){ /*PAC 59094*/

  .inputs-css { /*AJUSTA O TAMANHO DOS CAMPOS PARA NÃO ESTICAREM NA HORIZONTAL*/
    max-width: 30em;
    padding: 1em;
  }

  .input-enterprise-css { /*AJUSTA O TAMANHO DOS CAMPOS PARA NÃO ESTICAREM NA HORIZONTAL*/
    max-width: 30em; 
  }

  .combobox-enterprise-css { /*AJUSTA O TAMANHO DOS CAMPOS PARA NÃO ESTICAREM NA HORIZONTAL*/
    max-width: 30em; 
  }

}