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

:root {
  --logoclr: 0%;
  --bg: #F8FAFC;
  --bgop: #ffffffa7;
  --bgsec: #F1F5F9;
  --secbtn: #E5E7EB;
  --secclr: #E5E7EB;
  --secclrhover: #D1D5DB;
  --accent: #000000;
  --border: #e2e7ef;
  --borderhover: #C1C4CA;
  --overlayclr: rgba(0, 0, 0, 0.4);
  --btn: #111827;
  --btnhover: #1f2937;
  --btnclr: #fff;
  --text: #111827;
  --loadingclr-1: #cecece;
  --loadingclr-2: #ffffff;
  --secloading-1: #1b1b1b;
  --secloading-2: #3d3d3d;
}

/* Tema escuro: só sobrescreve o que muda */
[data-theme="dark"] {
  --logoclr: 100%;
  --bg: #090c12;
  --bgop: #090c12a5;
  --bgsec: #0e121c;
  --secbtn: #1a1f2a;
  --secclr: #1c212d;
  --secclrhover: #2a3140;
  --accent: #F9FAFB;
  --border: #1f2530;
  --borderhover: #2b3344;
  --overlayclr: rgba(15, 20, 30, 0.65);
  --btn: #f8fafc;
  --btnhover: #e2e8f0;
  --btnclr: #0f172a;
  --text: #F1F5F9;
  --loadingclr-1: #1f2530;
  --loadingclr-2: #2b3344;
  --secloading-1: #cecece;
  --secloading-2: #ffffff;

  .bgradient::after{
    opacity: 0.25;
  }
}

.material-symbols-outlined {
    vertical-align: middle;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings:
      'FILL' 1,
      'wght' 400,
      'GRAD' 0,
      'opsz' 24
  }


    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      position: relative;
      overflow: none;
      font-family: sans-serif;
      scroll-behavior: smooth;
      background: var(--bg);
      color: var(--text);
      transition: background 0.4s, color 0.4s;
      -webkit-tap-highlight-color: transparent;
    }

    * { box-sizing: border-box; font-family: "Lexend Giga", serif; margin: 0; }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-thumb { background: #42424263; transition: background .5s ease-in-out; }
    ::-webkit-scrollbar-thumb:hover { background: #5a5a5a81; }


    .wrapper {
      user-select: none;
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      touch-action: pan-y;
      max-width: 100vw;
      will-change: transform;
      height: calc(var(--vh, 1vh) * 100);
    }

    .slide {
      position: absolute;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      transition: transform .4s ease;
      overflow-y: auto;
      will-change: transform;
      border: none;
      background: transparent;
      overscroll-behavior-y: contain;
      -webkit-overflow-scrolling: touch;
    }

    .slide.hidden { display: none; }

    button {
      padding: 12px 15px;
      background: var(--btn);
      color: var(--btnclr);
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.265, 1.55), background 0.3s ease;
      font-size: 1rem;
    }

    button:hover { background: var(--btnhover); transform: scale(1.02); }
    button:active { transform: scale(0.95); }

    input {
        outline: none;
        border-radius: 15px;
        width: 100%;
        padding: 15px 15px;
        font-size: 1rem;
        border: 1px solid #ddd;
    }

    .flexform{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10px;
      max-width: 700px;
    }

    .centralize{
      text-align: center;
    }

    .content {
        margin: 0;
        margin-top: 90px;
        margin-bottom: 90px;
    }

    .sidemargin{
        margin-left: 20px;
        margin-right: 20px;
    }

    .ymargin{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    @media (max-width: 600px) {
        .content { padding: 0; }
        button { width: 100%;}
    }

    /* Menu */
    .icon-buttons{
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--text);
        margin-bottom: 15px;
 
        i{
          font-size: 2.2rem;
          font-weight: 300;
          transition: color .3s ease-in-out;
        }
    }

    .close-button {
        color: var(--text);

        span{
          font-size: 2rem;
          font-weight: 300;
          cursor: pointer;
          opacity: .25;
          transition: opacity .1s ease-in-out;
        }:hover{
          opacity: .3;
        }
    }

    .nav{
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1001;
    }

    .logo-button{
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--bgop);
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 20px;
        width: auto;
        height: 42px;
        font-size: 20px;
        cursor: pointer;
        transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease, opacity 0.3s ease;

        img{
            max-height: 24px;
            filter: invert(var(--logoclr));
            transition: filter 0.3s ease,
        }
    }

    .logo-button:hover{
      background: var(--bg);
    }

    .logo-btn-center {
      pointer-events: none;
      transform: translateX(calc(50vw - 50% - 20px)); /* centraliza com base na largura da tela */
    }

    .logo-btn-right {
      transform: translateX(calc(100vw - 100% - 20px)); /* move para a direita */
    }


    .menu-button {
        position: fixed;
        top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        right: 20px;
        z-index: 1001;
        background: var(--bgop);
        border: none;
        backdrop-filter: blur(20px);
        border-radius: 15px;
        width: 42px;
        height: 42px;
        color: var(--btn);
        cursor: pointer;

        i{
           font-size: 1.8rem;
        }
    }

    .menu-button:hover{
        background: var(--btnclr);
        transform: scale(1.05);
    }

    .menu-button:active{
      transform: scale(0.9);
    }

    .back-button {
        position: fixed;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        top: 20px;
        padding: 5px;
        left: 20px;
        z-index: 1001;
        background: var(--bgop);
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 15px;
        width: 42px;
        height: 42px;
        color: var(--btn);
        cursor: pointer;

        i{
           font-size: 1.8rem;
        }
    }

    .back-button:hover{
        background: var(--btnclr);
        transform: scale(1.05);
    }

    .back-button:active{
      transform: scale(0.9);
    }

    .back-button.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .back-button,
    .menu-button {
        transition:
            transform 0.3s cubic-bezier(0.175, 0.885, 0.265, 1.55),
            color 0.3s ease,
            left 0.3s ease,
            right 0.3s ease,
            opacity 0.3s ease;
    }

    .menu-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: var(--overlayclr);
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      touch-action: none;
      transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .menu-panel {
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: fixed;
      backdrop-filter: blur(20px);
      background: var(--bgop);
      color: white;
      width: 300px;
      height: 100vh;
      top: 0;
      right: -300px;
      z-index: 1002;
      padding: 20px;
      transition: background 0.2s ease, transform 0.4s ease, color 0.2s ease;
    }

    .menu-panel.active {
      transform: translateX(-300px);
    }

    @media (max-width: 600px) {
      .menu-panel {
        width: 100vw;
        max-height: 65vh;
        bottom: 0;
        top: auto;
        left: 0;
        transform: translateY(100vh);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        overflow-y: auto;
      }
      .menu-panel.active {
        transform: translateY(0%);
      }
    }

    .menu-panel button{
      width: 100%;
    }

    .menu-panel .sec-button{
      box-shadow: 0 0px 15px rgba(0, 0, 0, 0.12);
    }

    .button-with-ico {
      display: flex;
      justify-content: left;
      align-items: center;

      i{
        padding: 5px;
        border-radius: 50%;
        margin-right: 10px;
        background: var(--btnclr);
        color: var(--btn);
        font-size: 1rem;
        transition: color .3 ease, color 0.3s ease;
      }
    }

    .with-arrow{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
      transition: gap .25s cubic-bezier(0.175, 0.885, 0.265, 1.55), transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);;
      i{
        font-size: 1.4rem;
      }
    }

    .with-arrow:hover{
      gap: 15px;
    }
    
    .button-with-ico.no-bg{
      i{
        color: var(--btnclr);
        background: transparent;
        padding: 0;
        font-size: inherit;
        font-size: 1.4rem;
      }
    }

    .button-with-ico:hover{
      transform: scale(1);
    }

    .btnshadow{
      box-shadow: 0 0px 8px #5555553e;
    }

    .badge{
      background: var(--border);
      color: var(--text);
      border-radius: 12px;
      padding: 5px 15px;
      display: inline-block;
      margin-bottom: 10px;
      font-size: .9rem;
      text-transform: uppercase;
      font-weight: bold;
      box-shadow: 0 2px 8px #00000072;
      transition: transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);;
    }

    .badge:hover{
      transform: scale(1.02);
    }

    .nomargin{
      margin: 0 !important;
    }

    .bdg-clr0{
      background: var(--bg);
    }

    .bdg-clr1{
      color: black;
      background: #FF4C4C;
      box-shadow: 0 2px 8px #ff4c4c72;
    }

    .bdg-clr2{
      color: black;
      background: #FFA726;
      box-shadow: 0 2px 8px #FFA72672;
    }

    .bdg-clr3{
      color: black;
      background: #57c35c;
      box-shadow: 0 2px 8px #57c35c72;
    }

    .bdg-clr4{
      color: black;
      background: #2fde95;
      box-shadow: 0 2px 8px #2fde9572;
    }

    .tinybadges{
      .badge{
        margin: 2px 0;
        font-size: .7rem;
      }
    }

    .nbtn{
      padding: 5px 10px !important;
    }

    .invert{
      filter: invert(100%);
    }

    .ico-on-right{
      justify-content:space-between;
      i{
        padding: 5px;
        border-radius: 50%;
        margin: 0;
        background: var(--btnclr);
        color: var(--btn);
        font-size: 1rem;
        transition: background color .3 ease, color 0.3s ease;
      }
    }

    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(1px);
      z-index: 9;
      opacity: 0;
      touch-action: none;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    /* Botão tema */

.theme-toggle {
    width: 62px;
    height: 35px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.toggle-thumb {
    width: 25px;
    height: 25px;
    background: var(--text);
    border-radius: 30%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle.active .toggle-thumb {
    transform: translateX(27px);
}

  .theme-toggle .icons {
      display: flex;
      width: 100%;
      justify-content: space-between;
      margin: auto 1px;
      color: var(--text);
      z-index: 1;
      
      span{
        justify-content: center;
        align-items: center;
        font-size: 1.15rem;
      }

      .activeTheme{
        color: var(--btnclr);
      }
  }


/* STYLE */
h1 {
    font-size: 2.5rem;
}
  
h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.2rem;
}

h1, h2, h3 {
    word-break:break-all;
}

p {
    font-size: 1rem;

    .logo{
      height: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.0rem;
    }
      
    h2 {
        font-size: 1.85rem;
    }

    h3{
        font-size: 1.5rem;
    }
      
    p {
        font-size: 1rem;
    }
}

.text-with-ico{
    display: flex;
    justify-content: left;
    align-items: flex-end;

    i{
        padding: 5px;
        border-radius: 50%;
        background: var(--btn);
        color: var(--btnclr);
    }
}

  h1.text-with-ico i {
        font-size: 1.5rem;
        margin-right: 10px;
    }
      
  h2.text-with-ico i {
        font-size: 1.2rem;
        margin-right: 10px;
    }

  h3.text-with-ico i {
        font-size: 1rem;
         margin-right: 8px;
    }
      
  p.text-with-ico i {
        font-size: 1rem;
         margin-right: 5px;
  }

  .text-with-ico.no-bg{
    i{
      color: currentColor;
      background: transparent;
      padding: 0;
      font-size: inherit;
    }
  }

.thin{
    font-weight: 200;
}

.bold{
    font-weight: bold;
}

.center{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sec-button{
  display: inline-flex;
  align-items: center;
  background: var(--secbtn);
  color: var(--text);
  cursor: pointer;
  transition: background ease .2s, opacity ease-in-out .2s, color ease-in-out .2s, transform 0.05s ease-in-out;

  i{
    color: var(--text) !important;
  }
}

.sec-button:hover{
  background: var(--secclrhover);
}

.sec-button:active{
  opacity: .8;
}

.border-button{
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 10px;
  border: var(--btn) 2px solid;
  color: var(--text);
  cursor: pointer;
  transition: border ease .2s, opacity ease-in-out .2s, color ease-in-out .2s, transform 0.05s ease-in-out;

  i{
    color: currentColor !important;
    margin-left: 5px;
  }
}

.border-button:hover{
  border-color: var(--btnhover);
  color: var(--btnhover);
  background: none;
}

.border-button:active{
  opacity: .8;
}

.sec-border-button{
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 12px;
  border: var(--border) 2px solid;
  color: var(--text);
  cursor: pointer;
  transition: border ease .2s, opacity ease-in-out .2s, color ease-in-out .2s, transform .2s cubic-bezier(0.175, 0.885, 0.265, 1.55);

  i{
    color: var(--text) !important;
    opacity: .5;
  }
}

.sec-border-button:hover{
  border-color: var(--borderhover);
  color: var(--text);
  background: none;
}

.sec-border-button:active{
  opacity: .8;
}

.link-button{
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  background: var(--btn);
  padding: 2px 7px;
  border-radius: 8px;
  color: var(--btnclr);
  cursor: pointer;
  font-weight: bold;
  transition: background ease .2s, opacity ease-in-out .2s, color ease-in-out .2s;

  i{
    font-size: 1rem;
  }
}

.link-button:hover{
  background: var(--btnhover);
}

.link-button:active{
  opacity: .8;
}

a{
  color: currentColor;
}

/* CSS */
.rounded-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 62px;
  margin: 0 auto;
}

.icon-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--btn); /* Cor de fundo, pode usar sua variável */
  color: var(--btnclr);         /* Cor do ícone */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.265, 1.55);
  cursor: pointer;

  i{
    font-size: 1.8rem;
  }
}

.icon-button:hover {
  transform: scale(1.05);
  background: var(--btnhover);
}

.icon-button:active {
  transform: scale(.9);
  background: var(--btnhover);
}

.icon-button.rbtn-border{
  background: transparent;
  width: 58px;
  height: 58px;
  border: 2px solid var(--btn);
  color: var(--text);
}

.btn-label {
  font-size: 0.7rem;
  color: var(--text);
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.box{
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  color: var(--bg);
  background: var(--text);
  transition: background ease-in-out .2s;
}

.sec-box{
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  background: var(--bgsec);
  transition: background ease-in-out .2s;
}

.borderbox{
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  border: 2px solid var(--text);
  transition: background ease-in-out .2s;
}

.sec-borderbox{
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  border: 2px solid var(--border);
  transition: background ease .2s, border .2s ease;
}

.gradient{
  color: white;
  background: linear-gradient(135deg, #7C3AED, #6366F1, #06B6D4, #10B981);
}

.bgradient::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 0px;
  right: 0px;
  bottom: 60%;
  background: linear-gradient(to left, #7C3AED, #6366F1, #06B6D4, #10B981);
  border-radius: 18px;
  filter: blur(50px);
  opacity: 0.4;
  z-index: -1;
}

.getpack-purple{
  color: white;
  background: linear-gradient(to left, #7C3AED, #A855F7);
}

.biz-blue{
  color: white;
  background: linear-gradient(to left, #2563EB, #1E40AF);
}

.big-padding{
  padding: 40px 50px;
}

.flexbox{
  display: flex;
  flex-direction: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.boxes{
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  justify-content: space-around;
  align-items: center;
}

.boxes .box{
  margin: 0;
}

@media (max-width: 600px) {
  .boxes .box{
    width: 100%;
  }
}

/* FAVORITO */

.favorite-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--btn);
  opacity: 1;
  border-radius: 10px;
  color: var(--btnclr);
  cursor: pointer;
  transform: scale(1);
  transition: color .1s ease-in-out, border .1s ease-in-out, opacity .1s ease-in-out, transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);

  i{
    margin-right: 5px;
    font-size: 1rem;
  }
}

.sec-favorite-btn{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--bg);
  opacity: 1;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  transform: scale(1);
  transition: color .1s ease-in-out, border .1s ease-in-out, opacity .1s ease-in-out, transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);

  i{
    margin-right: 5px;
    font-size: 1rem;
  }
}

.sec-favorite-btn:active{
  transform: scale(0.95);
}

.sec-favorite-btn:hover{
  background: var(--bg);
  opacity: .9;
}

.favorite-btn:active{
  transform: scale(0.95);
}

.favorite-btn:hover{
  opacity: .9;
}

.big-btn-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--secclr) var(--bg);
}

.column{
  flex-direction: column;

  .big-item{
    max-width: 100%;
  }
}

.big-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bgsec);
  color: var(--text);
  border-radius: 20px;
  flex: 0 0 auto;
  min-height: 15.5vh;
  min-width: 200px;
  max-width: 80vw;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.265, 1.55), border 0.3s ease, background .2s ease, color 0.2s ease;
  a{
    text-decoration: none;
  }
}

.big-item:hover {
  transform: translateY(-5px);

  .box-icon{
    background: var(--secclrhover);
  }
}

.big-item .box-content{
  padding: 8%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.big-item .box-icon{
  border-radius: 15px 0 0 15px;
  color: var(--text);
  background: var(--secclr);
  padding: 10px 2px;
  font-size: 2rem;
  transition: color .2s ease-in-out, background .2s ease-in-out;
}

.big-item-2{
  background: var(--btn);
  color: var(--bg);

  .box-icon{
    color: var(--bg);
    background: transparent !important;
  }

  .box-icon:hover{
    background: transparent !important;
  }
}

.big-item.biz-blue{
  color: white;
  background: linear-gradient(to left, #2563EB, #1E40AF);

  .box-icon{
    color: white;
    background: rgba(255, 255, 255, 0.249);
  }
}

.big-item.getpack-purple{
  color: white;
  background: linear-gradient(to left, #7C3AED, #A855F7);

  .box-icon{
    color: white;
    background: rgba(255, 255, 255, 0.249);
  }
}

.forcewhitebtn{
  background: white;
  color: black;
}

.forcewhitebtn:hover{
  background: rgba(255, 255, 255, 0.832);
  color: black;
}

.favorited{
  opacity: .5;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.265, 1.55), background 0.3s ease;
}

.blocked{
  opacity: .3;
  pointer-events: none;
}

#username{
  display: inline-block;
}

.mini-info{
  font-size: .75rem;
  opacity: .5;

  i{
    font-size: .75rem;
  }
}

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

  h3{
    font-size: clamp(.5rem, 10vw, 1.5rem);
  }
}

.logo{
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 40px;
  max-width: 150px;
  margin: 20px auto;
  filter: invert(var(--logoclr));
  transition: filter 0.3s ease,
};

.loader-overlay.hide{
  opacity: 0;
  transition: opacity .4s ease;
}

/* Loaders & Other Boxes*/
.loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  opacity: 1;
  pointer-events: none;
  touch-action: none;
  transition: opacity .4s ease;
  z-index: 100000;
}

.loaderbox{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

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

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

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

.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);
  }
}

/* Popup base */
#confirmation-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* Quando visível */
#confirmation-popup.visible {
  opacity: 1;
  pointer-events: all;
}

/* Fundo escuro */
.popup-overlay {
  position: absolute;
  touch-action: none;
  inset: 0;
  background: var(--overlayclr);
}

/* Caixa do popup */
.popup-box {
  user-select: none;
  position: relative;
  background: var(--bg, #fff);
  padding: 25px;
  border-radius: 1rem;
  margin: 0 20px;
  max-width: 600px;
  min-width: 300px;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-title{
  font-weight: 700;
}

.gapzero{
  gap: 0;
}

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

.user-info {
  display: flex;
  align-items: center;
  gap: 8px; /* 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 var(--secclr);
  color: var(--text);
  background: var(--bg);
  border-radius: 10px;
}

/* Animação de entrada */
#confirmation-popup.visible .popup-box {
  transform: scale(1);
}

/* Botões */
.popup-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

.popup-buttons button {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.265, 1.55), background 0.3s ease;
}

.popup-cancel {
  background: var(--secclr);
  color: var(--text);
}

.popup-cancel:hover{
  background: var(--secclrhover);
}

.popup-confirm {
  background: var(--btn);
  color: var(--btnclr);
}

.txtcenter{
  text-align: center;
}

.note{
  color: var(--text);
  font-size: .8rem;
  opacity: .8;

  i{
    font-size: .8rem;
  }
}

.loading {
  border-color: none;
  color: transparent !important;
  background: linear-gradient(90deg, var(--loadingclr-1) 25%, var(--loadingclr-2) 50%, var(--loadingclr-1) 75%);
  background-size: 200% 100% !important;
  animation: loading 2s linear infinite;
  color: transparent;
  pointer-events: none;
}

.sec-loading{
  border-color: none;
  color: transparent !important;
  background: linear-gradient(90deg, var(--secloading-1) 25%, var(--secloading-2) 50%, var(--secloading-1) 75%);
  background-size: 200% 100% !important;
  animation: loading 2s linear infinite;
  color: transparent;
  pointer-events: none;
}

@keyframes loading {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  gap: 10px;
  overflow: hidden;

  p{
    font-size: 1.15rem;
  }
}

.pointer{
  cursor: pointer;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  gap: 10px;
  overflow: hidden;

  p{
    font-size: 1.15rem;
  }
}

.pointer{
  cursor: pointer;
}

/* Esconde o checkbox nativo */
.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: var(--border) 2px solid;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color .2s ease;
}

.checkbox span.icon{
  font-size: 1.5rem;
}

/* Ícones */
.icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Estado inicial - X visível */
.icon.unchecked {
  opacity: 1;
  transform: scale(1);
  color: var(--text);
}

/* Check invisível inicialmente */
.icon.checked {
  opacity: 0;
  transform:  translateX(-15px);
  color: var(--bg, #fff);
}

/* Quando marcado - check visível, x invisível */
.checkbox-wrapper input[type="checkbox"]:checked + .checkbox {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox .unchecked {
  opacity: 0;
  transform: translateX(15px);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox .checked {
  opacity: 1;
  transform: translateX(0);
}

.centralfw{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
}

.fwsectiontitle{
  font-weight: normal;
  margin: 15px 0;
  font-size: 1rem;
}

.fwsection{
  background: var(--bgsec);
  padding: 5px 20px;
  border-radius: 10px;
  transition: background .2s ease;
  width: 100%;
  max-width: 800px;
}

.fwbtn{
  cursor: pointer;
  transition: opacity .2s ease;
}

.fwbtn:hover{
  opacity: .8;
}

.fwico{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: .2;
}

.flexwrapper{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  border-top: 2px solid #55555515;
  padding-top: 20px;

  .fwinfo{
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 75%;

    .fwtitle{
      font-weight: bold;
      font-size: 1rem;
    }

    .fwdesc{
      font-size: 1rem;
      opacity: .5;
    }
  }
}

.flexwrappercolumn{
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  margin: 20px 0;
  border-top: 2px solid #55555515;
  padding-top: 20px;

  .fwinfo{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 5px;

    .fwtitle{
      font-weight: bold;
      font-size: 1rem;
    }

    .fwdesc{
      font-size: 1rem;
      opacity: .5;
    }
  }
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: var(--accent);
  color: var(--bg);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: normal;
  white-space: normal;
  max-width: 90vw;
  box-sizing: border-box;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-wrap: break-word;
  text-align: center;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tooltip:hover::before,
.tooltip:focus-visible::before {
  opacity: 1;
}

#toast-container {
  user-select: none;
  position: fixed;
  top: 80px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 10px 15px;
  border-radius: 15px;
  font-size: .85rem;
  backdrop-filter: blur(20px);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: slideIn 0.4s forwards, fadeOut 0.5s 3.5s forwards;
}

.toast.success { background-color: #507351d2; }
.toast.error { background-color: #a42d24d2; }
.toast.info { background-color: #165e98d2; }
.toast.warning { background-color: #c88218d2; }

@keyframes slideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(100%); }
}

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

.tinybtn:hover{
  background: none;
  opacity: .8;
}

.simplelink{
  display: inline-block;
  text-decoration: underline;
}

.tinytxt{
  font-size: .8rem;
}

.disabled{
  pointer-events: none;
  opacity: .5;
}

.flexbuttons{
  display: flex;
  flex-direction: wrap;
  align-items: center;
  gap: 10px;
}

.flexrow{
  display: flex;
  flex-direction: row;
  gap: 10px;

  .frow-item{
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .flexbuttons{
    flex-direction: column;
    width: 100%;
  }

  .flexrow{
    flex-direction: column;
  }
}

.med-ico{
  i{
    font-size: clamp(3rem, 10vw, 4rem);
  }
}

.big-ico{
  i{
    font-size: clamp(5rem, 10vw, 7rem);
  }
}

.ycenter{
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.email-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 320px;
  background: var(--bgop);
  backdrop-filter: blur(20px);
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  padding: 18px;
  z-index: 1000;
  transform: translateX(120%);
  opacity: 0;
  transition: all .4s ease;
  font-family: sans-serif;
}

.email-modal.show {
  transform: translateX(0);
  opacity: 1;
}

.email-modal h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: bold;
}

.email-modal p {
  font-size: .9rem;
  margin-bottom: 14px;
  opacity: 0.8;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-direction: column;
}

@media (max-width: 600px) {
  .email-modal {
    max-width: 100%;
    left: 20px;
  }
}

.hide{
  display: none !important;
}
.tutorial-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: var(--bgsec);
  color: var(--text);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 20px var(--overlayclr);
  font-family: sans-serif;
  z-index: 99999;
  transition: all 0.4s ease;
}
.tutorial-box h3 { 
  margin: 0 0 8px; 
  padding: 5px 15px;
  font-size: 18px; 
  color: var(--bg); 
  border-radius: 15px;
  font-weight: bold;
  background: var(--btn);
  font-size: .9rem; 
}
.tutorial-box p { font-size: 14px; color: var(--text); }
.tutorial-box button {
  margin-top: 12px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 15px;
  font-size: 14px;
  background: var(--btn);
  color: var(--btnclr);
  cursor: not-allowed;
  opacity: 0.4;
  transition: 0.3s;
}
.tutorial-box button.enabled {
  cursor: pointer;
  opacity: 1;
}
.tutorial-box a{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
}
.highlight {
  z-index: 997 !important;
  box-shadow: 0 0 0 3px var(--overlayclr);
  border-radius: auto;
  animation: pulseGlow 1.2s infinite ease-in-out;
}
@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 5px transparent; }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px var(--accent); }
  100% { transform: scale(1); box-shadow: 0 0 0 5px transparent; }
}