@import url('https://fonts.googleapis.com/css2?family=Lexend+Giga:wght@100..900&display=swap');

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Lexend Giga', sans-serif;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      background-color: #000000;
      color: #fff;
      display: flex;
      justify-content: center;
      overflow: hidden;
      overflow-y: auto;
    }

    button:disabled{
      opacity: 0.6;
      pointer-events: none;
      transition: opacity .2s ease;
    }

    button.cooldown{
      opacity: 0.6;
      pointer-events: none;
      transition: opacity .2s ease;
    }

    button:hover{
      transform: scale(1.02);
    }
    
    button:active{
      transform: scale(.95);
    }

    .form-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 15px;
      padding: 2rem;
      border-radius: 16px;
      width: 100%;
      max-width: 500px;
      animation: fadeIn 0.8s ease-out;
    }

    .bigform-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 2%;
      margin-top: 5vh;
      padding: 2rem;
      border-radius: 16px;
      width: 100%;
      max-width: 800px;
      animation: fadeIn 0.8s ease-out;
    }

    .logo{
      display: flex;
      align-items: center;
      justify-content: center;
      max-height: 50px;
      max-width: 170px;
      margin: 20px auto;
    };

    .title {
      width: 100%;
      text-align: center;
      margin: auto 0;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    label {
      display: block;
      margin-bottom: 0.5rem;
      color: #ccc;
    }

    .password-wrapper {
      position: relative;
    }

    .toggle-password {
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);
      background: transparent;
      padding-left: 10px;
      border: none;
      color: #ccc;
      cursor: pointer;
      font-size: 0.9rem;

      i{
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        transition: transform .2s cubic-bezier(0.175, 0.885, 0.265, 1.55), opacity .2s ease;
      }

      i:hover{
        transform: scale(1.05);
      }

      i:active{
        transform: scale(.95);
        opacity: .5;
      }
    }

    .toggle-password:hover{
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);
    }

    input[type="email"],
    input[type="password"], input {
      width: 100%;
      padding: 8px 12px;
      font-size: 1rem;
      border: 2px solid transparent;
      background: #101010;
      border-radius: 15px;
      color: #fff;
      transition: border 0.3s ease;
    }

    input:focus {
      border-color: #ffffff;
      outline: none;
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 0; /* espaço entre o label e o input */
      margin: 8px 0;
      flex-wrap: wrap; /* evita que quebre feio se a tela for estreita */
    }

    .userinfo {
      max-width: 100%;
      padding: 5px 8px;
      border: 2px solid #202020;
      color: var(--text);
      background: var(--bg);
      border-radius: 10px;
    }

    .nonbox{
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin: 20px 0;
    }

    .btn {
      width: 100%;
      padding: 10px;
      font-size: 1rem;
      background: #fff;
      color: #000000;
      font-weight: bold;
      border: none;
      border-radius: 18px;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.3s ease;
    }

    .btn:hover {
      background: #e5e5e5;
    }

    .dark-btn {
      width: 100%;
      padding: 0.5rem;
      font-size: 1rem;
      background: #2e2e2e;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .dark-btn:hover{
      color: #d0d0d0;
      background: #232323;
    }

    .sec-btn {
      width: 100%;
      padding: 0.5rem;
      font-size: 1rem;
      background: none;
      border: 2px solid #2e2e2e;
      color: #ffffff;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, color 0.3s ease;
    }

    .sec-btn:hover{
      color: #d0d0d0;
    }

    .tinybtn {
      display: inline-block;
      text-decoration: none;
      padding: 5px 8px;
      font-size: 0.8rem;
      background: none;
      border: 2px solid #2e2e2e;
      color: #bdbdbd;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, color 0.3s ease;
    }

    .tinybtn:hover{
      color: #ffffff;
    }

    .altext{
      font-size: .8rem;
      color: #aaa;
      a{
        color: #aaa;
      }
    }

    .extra-links {
      display: flex;
      flex-direction: wrap;

      gap: 5px;
      margin-top: 1rem;
    }

    .simplelink{
      color: #aaa;
    }

    .link{
      color: #aaa;
      text-decoration: none;
      font-size: 0.8rem;
      display: flex;

      i{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-right: 2px;
      }
    }

    .infotitle{
      padding-bottom: 15px;
      text-align: center;
      letter-spacing: 2px;
      font-weight: bold;
      border-bottom: 2px rgba(255, 255, 255, 0.152) solid;
      margin-bottom: 15px;
    }

    .infomsg {
        font-size: 1rem;
        align-items: center;
        justify-content: center;
        padding: 10px 15px;
        border: 2px solid;
        border-color: var(--bcmsg);
        color: var(--bcmsg);
        border-radius: 15px;
        transition: opacity .2s ease;
    }

    .infomsg::before {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Material Symbols Outlined";
        content: attr(data-icon); /* Usa o ícone dinâmico */
        margin-right: 8px;
        font-size: 1.2rem;
    }

    .center-container{
      margin-top: 30px;
      text-align: center;
    }

    #message {
        position: absolute;
        max-width: 100%;
        top: 15px;
        left: 20px;
        right: 20px;
        background: #151515;
        padding: 10px 15px;
        opacity: 0;
        display: none;
        font-size: .8rem;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        color: white;
        border-radius: 10px;
        transition: opacity .2s ease;
        z-index: 9999;
    }

    #message::before {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Material Symbols Outlined";
        content: attr(data-icon); /* Usa o ícone dinâmico */
        margin-right: 8px;
        font-size: 1.2rem;
    }

    #message.show {
        display: inline-block;
        opacity: 1;
    }


    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 480px) {
      .form-container {
        padding: 1.5rem;
        border-radius: 12px;
      }
    }

/* Loaders & Other Boxes*/
.loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 2000;
  opacity: 1;
  pointer-events: none;
  touch-action: none;
  transition: opacity 0.3s ease;
}

.loader-overlay.hide{
  opacity: 0;
}

.loaderbox{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* ou 100% se for dentro de outro container */
  width: 100%;
}

/* Estilo base do loader */
.loader {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 0.15em solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s ease infinite;
  vertical-align: middle;
  margin-right: 0.4em;
}

.big-loader{
  width: 2em;
  height: 2em;
}

/* Mantém o tamanho relativo à fonte do elemento pai */
.loader {
  font-size: inherit;
}

/* Exemplo opcional: se quiser esconder o conteúdo e mostrar só o loader */
.loader.only-loader {
  color: transparent;
  position: relative;
}
.loader.only-loader .loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Animação de rotação */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.container {
      border-radius: 16px;
      padding: 32px;
      max-width: 800px;
      width: 100%;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 0.6s ease forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    h1 {
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
    }

    p {
      margin: 0.5rem 0;
      font-size: 1rem;
    }

    .info {
      margin: 5px 0;
      background: #202020;
      padding: 10px 20px;
      border-radius: 15px;
    }

    .buttons {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    .note {
      font-size: 0.85rem;
      color: #ccc;
    }

    .content{
      margin: 20px 0;
    }

    .sidebar {
  width: 200px;
  background: #222;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar button {
  background: none;
  border: none;
  color: white;
  text-align: left;
  cursor: pointer;
}
.painel {
  flex: 1;
  padding: 20px;
}
.painel-secao {
  display: block;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  max-width: 500px;
  width: 100%;
}
.close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}