* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:not(div.content)::-webkit-scrollbar {
  width: 0;
  height: 0;
}

:root {
  --primary: #1A1D25;
  --secondary: #00d559;
  --text: #ffffff;
  --opaque-border: rgba(255, 255, 255, 0.2);
  --opaque-text: rgba(255, 255, 255, 0.6);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  flex-wrap: wrap;
  font-family: 'Nexa';
  background-repeat: no-repeat;
  background-size: contain;
  background-position: -70px 0px;
}

img.logo {
  max-width: 200px;
}

div.box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Nexa-Light' !important;
  font-weight: bolder !important;
  max-width: 700px;
  width: 90%;
  border: 1px solid var(--opaque-border);
  border-radius: 8px;
  color: var(--secondary);
  margin: 20px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.1);

  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  transition: border-color 0.4s;
}

@media (min-width: 951px) {
  div.box:hover {
    border-color: var(--secondary);
  }
}

div.box form {
  padding: 20px;
}

@media (max-width: 550px) {
  div.box form {
    padding: initial;
    width: 100%;
  }
}

div.box form input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: var(--primary) !important;
  border: 1px solid #505050 !important;
  color: #ffffff !important;
  font-family: 'Nexa-Light';
  font-weight: bolder;
}

div.box form label {
  display: block;
  margin-bottom: 12px;

  font-weight: 700;
  font-size: 20px;
}

div.box form button {
  /* padding: 12px; */
  background-color: var(--secondary);
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  color: #000000 !important;
  font-family: 'Nexa-Light';
}

div.box form a {
  color: var(--text);
}

div.box form button[type="submit"][disabled] {
  cursor: auto;
  background-color: rgb(80, 80, 80, 0.7);
  color: #ffffff !important;
}

/* checkbox agree to the terms */
div.box form label.checkbox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;

  color: var(--text);
  font-size: 16px;
}

div.box form label.checkbox input {
  width: fit-content;
}

div.box form span#terms {
  display: inline-block;
  color: white;
  text-decoration: underline;
  margin-bottom: 10px;
  cursor: pointer;
}

div.terms-of-use-modal {
  position: fixed;
  inset: 0;

  display: grid;
  place-content: center;

  background-color: rgba(0, 0, 0, 0.4);
}

div.terms-of-use-modal[data-closed="true"] {
  display: none;
}

div.terms-of-use-modal div.content {
  position: relative;

  border: 2px solid var(--opaque-border);
  background-color: var(--primary);

  color: var(--text);

  max-height: 500px;
  overflow: auto;
}

div.terms-of-use-modal div.content button.close svg {
  fill: var(--text);
  font-size: 20px;
}

div.terms-of-use-modal div.content div.modal-header {
  position: sticky;
  top: 0;
  padding: 15px 30px;
  border-bottom: 2px solid var(--opaque-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
}

div.terms-of-use-modal div.content div.modal-header button.close {
  border: none;
  background-color: transparent;
  padding: 12px;
  cursor: pointer;
}

div.terms-of-use-modal div.content div.modal-header h2.main-title {
  font-size: 30px;
}

div.terms-of-use-modal div.content div.texts {
  padding: 0 30px 30px;
}

div.terms-of-use-modal div.content h2,
div.terms-of-use-modal div.content h3,
div.terms-of-use-modal div.content h4 {
  margin: 20px 0;
}

div.terms-of-use-modal div.content p {
  margin-bottom: 10px;
}

#loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.trigger_modal {
  position: fixed;
  right: 0;
  margin-right: 20px;
  margin-top: 80px;
  z-index: 99999;
  font-size: 1.2rem;
  font-family: var(--bs-body-font-family);
  animation: aviso 0.5s ease-in-out;
}

@keyframes aviso {
  0% {
    right: -500px;
  }

  100% {
    right: 0px;
  }
}

/* Estilo base para o alerta */
.alert {
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 4px;
  margin: 10px 0;
}

/* Estilo para o alerta de sucesso */
.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

/* Estilo para o alerta de erro */
.alert-error {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

/* Estilo para o alerta de informação */
.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

/* Estilo para o alerta de aviso */
.alert-warning {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

/* Estilos para as mensagens de erro */
.error-message {
  color: #ff0000;
  /* Cor vermelha para mensagens de erro */
  font-size: 14px;
  margin-top: 5px;
  display: none;
  /* Inicialmente, as mensagens de erro estão ocultas */
}


@media (max-width: 950px) {
  div.box {
    background: none;
    backdrop-filter: initial;
    border: none;
  }

  div.box form label {
    display: block;
    font-family: 'Nexa-Light';
    margin-bottom: 12px;
    font-weight: bolder;
    letter-spacing: 1px;
    font-size: 16px;
    color: #ffffff;
  }

  div.box form button {
    /* padding: 12px; */
    background-color: var(--secondary);
    color: var(--text);
    letter-spacing: 1px;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    color: #000000 !important;
    font-family: 'Nexa';
  }

  div.box form input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #131417 !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Nexa-Light';
    font-weight: bolder;
    font-size: 16px;
  }

  div.box form input::placeholder {
    color: #909090;
  }

  div.box form input.google-autofill {
    color: #909090;
    background: #131417;
  }
}