@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html {
  overflow-x: hidden;
}

body {
  background-attachment: fixed;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: right;
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Josefin Sans', sans-serif;
}

/* .page__container {
  height: calc(100vh - env(safe-area-inset-bottom));
} */

.teste {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
}

#text-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-preview {
  width: 100%;
  height: calc(100% - 139px - 1.5rem);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: none;
}

.event__banner {
  background-image: url(/imgs/hero-hader-v2-cnc-gv.png);
  background-size: cover;
  background-position: top -50px left 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

.event__location {
  color: white;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
}

.event__date {
  border: 2px solid white;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  color: white;
  font-weight: 700;
  line-height: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#register {
  text-align: center;
  font-size: 24px;
  color: #001e38;
}

label {
  color: #737272;
}

input::placeholder {
  color: #a5a5a5;
}

.sectionTitle {
  text-align: start;
  font-size: 18px;
  color: #737272;
}

.sectionTitle--terms {
  margin: 0;
}

h2 {
  text-align: center;
}

input,
select {
  padding: 7px 10px;
  width: 100%;
  font-size: 16px;

  border: 1px solid #aaaaaa;
}

select option[disabled] {
  color: #a5a5a5; /* Adiciona um estilo de cor cinza ao placeholder */
}

input.invalid {
  background-color: #ffdddd;
}

.invalid {
  background-color: #ffdddd;
}

#content {
  gap: 12px;
}

.title-steps__container {
  margin-top: 1.5rem;
}

.tabs__container {
  display: flex;
  flex-direction: column;
  position: relative;
  flex-grow: 1;
}

.tab {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* height: 100%; opcional, dependendo do seu layout */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(20px);
}

.tab.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  flex-grow: 1;
}

.tab.fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

.label-input__container:not(:last-child) {
  margin-bottom: 1.25rem;
}

/* .label-input__container:not(:last-child).staff {
  margin-bottom: 0.75rem;
} */

.page__container {
  position: relative;
}

#nextprevious {
  position: absolute;
  bottom: 12px;
  right: 12px;
}

button {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  /* margin-top: 20px; */
  font-weight: 700;
  cursor: pointer;
}

#nextBtn {
  position: relative;
  float: right;
  margin-left: 5px;
}

button:hover {
  opacity: 0.8;
}

#prevBtn {
  background-color: #bbbbbb;
  position: relative;
  float: right;
}

.step {
  height: 8px;
  width: 8px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
  transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.step.finish {
  transform: scale(1.7);
  background-color: #4caf50;
  opacity: 1;
}

.step.ongoing,
.step.finish.ongoing {
  transform: scale(1.5);
  background-color: rgba(76, 175, 80, 0.5);
  opacity: 0.7;
}

.all-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
}

.thanks-message {
  display: none;
}

.login-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.logo-evento img {
  width: 40%;
  filter: contrast(100%);
  position: absolute;
  margin-left: -5px;
  margin-top: 0px;
  filter: invert(1);
}

.login-logo img {
  width: 55%;
  margin-left: 290px;
}

#termos {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
}

#aceite {
  width: auto;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
}

.first-step {
  gap: 10px;
}

#imageprev {
  width: 100%;
}

#botao {
  position: absolute;
  margin-top: 360px !important;
  gap: 20px;
}

@media only screen and (max-width: 900px) {
  .login-logo img {
    width: 50%;
    height: 50%;
    text-align: center;
    margin-left: 180px;
    margin-bottom: 5px;
  }
  .logo-evento img {
    margin-left: -15px;
    margin-top: -10px;
    filter: invert(1);
  }

  button {
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    /* margin-top: 30px; */

    cursor: pointer;
  }
}

.topo {
  box-shadow: 0px 15px 10px -10px rgba(0, 0, 0, 0.25);
  background: #001e38;
  display: flex;
  justify-content: space-between;
  padding: 10px 32px;
}

@media screen and (max-width: 768px) {
  .topo {
    width: 100vw;
  }
}

#eventLogo, #facedoorLogo {
  height: 45px;
}



#content {
  position: relative;
  padding: 12px;
  background-image: url(/assets/logo-cnc-globe.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 9999;
}

.loader::after {
  content: '';
  border: 5px solid #b2b2b2;
  border-top: 5px solid transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

.loadImg {
  filter: contrast(40%);
  width: 35%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 991px) {
  .title-steps__container {
    margin-top: 0.75rem;
  }

  #register {
    font-size: 20px;
  }

  .all-steps {
    margin: 12.5px 0;
  }
}

@media (max-width: 700px) {
  .loader::after {
    width: 25px;
    height: 25px;
  }

  .loadImg {
    width: 35%;
  }
}

.swal2-html-container {
  text-align: justify !important;
}
