main {
  background: linear-gradient(240deg, #7C82CB, #eed7a0);
  background-size: 160% 160%;
  animation: gradientPulse 7s ease infinite;
}

/* MODAL: Configurações do modal */
.modal-area {
  position: fixed;
  opacity: 0;
  display: none;
  flex-direction: column;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(39, 44, 98, .95);
  z-index: 100;

  & .modal-close {
    width: calc(100% - 4rem);
    display: flex;
    justify-content: flex-end;
    padding: 2rem 2rem 1rem 2rem;
  }

  & .modal-content {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.content-terms {
  position: relative;
  width: calc(50% - 4rem);
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
}

.content-terms::before {
  content: ""; /* Cria o pseudo-elemento */
  position: absolute;
  top: 0;
  left: 0.2rem; /* Alinhamento inicial ao centro */
  width: 4rem; /* Borda ocupará 50% da largura da div */
  height: 0.4rem; /* Altura da borda */
  border-radius: 2rem 0rem 0rem;
  background-color: #272C62; /* Cor da borda */
}

#contentTermsVisible {
  overflow-x: hidden;
  overflow-y: auto;

  & .content > * {
    margin-bottom: 2rem;
  }

  & .content > *:last-child {
    margin-bottom: 0;
  }

  & .content {
    padding-right: 2rem;
    font-size: 1.3rem;
    line-height: 1.9rem !important;
    letter-spacing: 0.1rem;
  }
}

.content-session {
  position: relative;
  width: calc(50% - 4rem);
  padding: 2rem;
  top: -4rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
}

.content-session::before {
  content: ""; /* Cria o pseudo-elemento */
  position: absolute;
  top: 0;
  left: 0.2rem; /* Alinhamento inicial ao centro */
  width: 4rem; /* Borda ocupará 50% da largura da div */
  height: 0.4rem; /* Altura da borda */
  border-radius: 2rem 0rem 0rem;
  background-color: #272C62; /* Cor da borda */
}

#contentSessionVisible {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;

  & .logo {
    display: flex;
    justify-content: center;
    width: 100%;
    & img {
      width: 80%;
      max-width: 30rem;
      margin-bottom: 2rem;
    }
  }

  & .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1.9rem !important;
    letter-spacing: 0.1rem;
  }

  & .content > * {
    margin-bottom: 2rem;
  }

  & .content > *:last-child {
    margin-bottom: 0;
  }

  & .content button {
    border-radius: 1rem;
  }
}

.spatial-message {
  opacity: 1; /* Inicialmente invisível */
  position: absolute;
  top: 2rem;
  padding: 2rem 1rem;
  border: 0.4rem solid #E8E8E8;
  transition: all 0.3s;
  z-index: 10;
  background-color: #E7EFE6;
  animation: "stretchInMessage 0.2s ease-in-out forwards"; 
}

.login-box {
  animation: stretchIn 1.5s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
  max-height: 60rem;
}

.firstaccess-box {
  animation: stretchInFirstAccess 1.5s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
}

.firstaccess-box::before {
  content: ""; /* Cria o pseudo-elemento */
  position: absolute;
  top: 0;
  left: 50%; /* Alinhamento inicial ao centro */
  transform: translateX(-50%); /* Centraliza horizontalmente */
  width: 94%; /* Borda ocupará 50% da largura da div */
  height: 0.3rem; /* Altura da borda */
  background-color: #272C62; /* Cor da borda */
}

.bg-login {
  opacity: 0; /* Inicialmente invisível */
  background-image: url("/images/bg-pegosito2025.png");
  animation: showContent 0.5s ease-in-out forwards;
  animation-delay: 1.5s; /* Sincroniza com o fim da animação da div */
}

.form-login {
  opacity: 0; /* Inicialmente invisível */
  animation: showContent 0.5s ease-in-out forwards;
  animation-delay: 1.5s; /* Sincroniza com o fim da animação da div */
}

.form-firstaccess {
  opacity: 0; /* Inicialmente invisível */
  animation: showContent 0.5s ease-in-out forwards;
  animation-delay: 1.5s; /* Sincroniza com o fim da animação da div */

  & p {
    font-size: 1.2rem;
  }
}

.status-message {
  opacity: 0; /* Inicialmente invisível */
  position: relative;
  top: -2rem;
  padding: 2rem 1rem;
  border: 0.4rem solid #E8E8E8;
  transition: all 0.3s;
  box-shadow: 0.6rem 0.6rem 1.2rem #C5C5C5, -0.6rem -0.6rem 1.2rem #ffffff;
  z-index: 10;
}

.sair {
  transform: translate(-200%, -50%); /* Move para fora pela esquerda */
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 0.5em;
  padding: 0.125em;
  background-image: linear-gradient(to bottom, #d5d5d5, #e8e8e8);
  box-shadow: 0 1px 1px rgb(255 255 255 / 0.6);
  /* resize for demo */
  font-size: 1.5em;
}

.toggle-checkbox {
  appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  /* fix em sizing */
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.toggle-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0.375em;
  width: 3em;
  height: 1.5em;
  background-color: #e8e8e8;
  box-shadow: inset 0 0 0.0625em 0.125em rgb(255 255 255 / 0.2),
    inset 0 0.0625em 0.125em rgb(0 0 0 / 0.4);
  transition: background-color 0.4s linear;
}

.toggle-checkbox:checked + .toggle-container {
  background-color: #60935D88;
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0.0625em;
  border-radius: 0.3125em;
  width: 1.375em;
  height: 1.375em;
  background-color: #e8e8e8;
  box-shadow: inset 0 -0.0625em 0.0625em 0.125em rgb(0 0 0 / 0.1),
    inset 0 -0.125em 0.0625em rgb(0 0 0 / 0.2),
    inset 0 0.1875em 0.0625em rgb(255 255 255 / 0.3),
    0 0.125em 0.125em rgb(0 0 0 / 0.5);
  transition: left 0.4s;
}

.toggle-checkbox:checked + .toggle-container > .toggle-button {
  left: 1.5625em;
}

.toggle-button-circles-container {
  display: grid;
  grid-template-columns: repeat(3, min-content);
  gap: 0.125em;
  position: absolute;
  margin: 0 auto;
}

.toggle-button-circle {
  border-radius: 50%;
  width: 0.125em;
  height: 0.125em;
  background-image: radial-gradient(circle at 50% 0, #f5f5f5, #c4c4c4);
}

.loader-area {
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}