::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #A016AC 0%, #C21CD1 100%);
  border-radius: 5px;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #B018BD 0%, #D94DE5 100%);
}

::-webkit-scrollbar-button {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

::-webkit-scrollbar-corner {
  background: #1a1a1a;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #A016AC #1a1a1a;
}

.modal__container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modal__container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #A016AC 0%, #C21CD1 100%);
  border: 1px solid #1a1a1a;
}

.grid::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#cart-pkg-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.purchase-notif__container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}


/* Remove as setinhas do input number em todos os navegadores */
.cc__checkout___quantity_input::-webkit-outer-spin-button,
.cc__checkout___quantity_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cc__checkout___quantity_input[type=number] {
  -moz-appearance: textfield;
  appearance: none;
}

/* Centralização perfeita do texto */
.cc__checkout___quantity_input {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.purchase-notif__box {
    display: flex;
    align-items: center;
    background-color: #12111a;
    border-radius: 10px;
    padding: 8px 12px;
    width: 240px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-left: 3px solid #B01ABD;
    opacity: 0;
    transform: translateX(-100%);
}

.purchase-notif__icon-wrapper {
    background-color: #B01ABD;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.centralcart-content pre {
  background: #221a30 !important;
}

.purchase-notif__icon-svg {
    width: 14px;
    height: 14px;
}

.purchase-notif__text-area {
    color: white;
    flex-grow: 1;
}

.purchase-notif__message {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 2px;
    line-height: 1.3;
}

.purchase-notif__timestamp {
    font-size: 10px;
    color: #a8a8b3;
}

.purchase-notif__animate-in {
    animation: purchaseNotifSlideIn 0.5s ease forwards;
}

.purchase-notif__animate-out {
    animation: purchaseNotifFadeOut 0.5s ease forwards;
}

@keyframes purchaseNotifSlideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes purchaseNotifFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.discord-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.discord-float:hover {
  transform: translateY(-5px);
}

.discord-float .icon {
  width: 65px;
  height: 65px;
  background: #5865F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.discord-float:hover .icon {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.discord-float i {
  transition: transform 0.25s ease;
}

.discord-float:hover i {
  transform: scale(1.1);
}


.grid-cols-\[0\.8fr_1fr_1fr_1fr\]::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #A016AC 0%, #C21CD1 100%);
  border: 1px solid #1a1a1a;
}

.tooltip::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.tooltip::-webkit-scrollbar-thumb {
  background: #A016AC;
  border: none;
}

@keyframes glow-scroll {
  0% { box-shadow: 0 0 5px rgba(194, 28, 209, 0.3); }
  50% { box-shadow: 0 0 10px rgba(194, 28, 209, 0.5); }
  100% { box-shadow: 0 0 5px rgba(194, 28, 209, 0.3); }
}

body::-webkit-scrollbar-thumb {
  animation: glow-scroll 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-width: 1px;
  }
}

[class*="overflow-x"]::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #A016AC 0%, #C21CD1 100%);
  border: 1px solid #1a1a1a;
}

#package-modal-container::-webkit-scrollbar,
#package-option-modal-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.centralcart-content::-webkit-scrollbar {
  width: 6px;
}

.toastify {
  box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
  max-width: 520px;
  width: fit-content;
  background: #67C05F;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.2);
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 2px 0 rgba(0,0,0,0.15);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.nick-member {
  margin-top: 10px;
}

.centralcart-content h1, .centralcart-content h2 {
    margin-bottom: 0.7rem !important;
}

.data-\[scrolled\=true\]\:py-5[data-scrolled="true"] {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

.toastify.error {
  background-color: #FF4949;
}

.cc__checkout___form_field label::after {
  content: '*';
  color: red;
  margin-left: 4px;
}

.post-shadow {
  background: linear-gradient(0deg, hsl(var(--background)) 20%, transparent 100%);
}

.neon-background {
  background: linear-gradient(180deg, rgba(194, 28, 209, 0.95) 0%, rgba(16, 16, 16, 1) 100%);
  /*background: linear-gradient(180deg, rgba(194, 28, 209, 0.95) 0%, rgba(16, 16, 16, 1) 100%), url('https://i.imgur.com/8GyCl3n.jpeg');*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.glow-secondary {
  box-shadow: 0px 0px 10px 0px hsl(var(--secondary));
}

.post-gradient {
  background: linear-gradient(0deg, rgba(16, 16, 16, 0.95) 20%, rgba(16, 16, 16, 0) 50%);
}

#slides-container > div {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}


.bg-highlited {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #0000;
  background: linear-gradient(#221a30, #221a30) padding-box, linear-gradient(
        var(--angle),
        #221a30,
        #C21CD1
      ) border-box;
  animation: 8s rotate linear infinite;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes slideDown {
  from {
    transform: translateY(-60px);
  }
  to {
    transform: translateY(0px);
  }
}

.slide-down {
  animation: slideDown 0.3s ease forwards;
}

/* Reordenação dos widgets no responsivo */
@media (max-width: 1023px) {
  /* Força o container principal a ser flexbox */
  .container.grid.grid-cols-1.gap-8.lg\:grid-cols-\[300px_1fr\] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* A div que contém category e widgets vira flexbox também */
  .container.grid > .flex.flex-col.gap-8 {
    display: contents !important; /* Remove a div do fluxo */
  }

  /* Define a ordem dos elementos */
  .category-selector-area {
    order: 1;
  }

  .account-sidebar-area {
    order: 1;
  }

  .main-content-area {
    order: 2;
  }

  .widget-top-donators {
    order: 3;
  }

  .widget-month-goal {
    order: 4;
  }

  /* Fix botão "Continuar lendo" cortado em notícias */
  .post-gradient + div {
    flex-wrap: wrap !important;
    gap: 1rem !important;
  }

  .post-gradient + div > div {
    flex: 1 1 100% !important;
  }

  .post-gradient + div > a {
    flex: 1 1 100% !important;
    text-align: center !important;
  }
}