@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  font-family: "Poppins", sans-serif;
}

:root {
  --color-black: #000000;
  --color-success: #e9f7ef;
  --color-success-text: #198754;
  --color-warning: #fff9e3;
  --color-warning-text: #ffc107;
  --color-danger: #fdeaea;
  --color-danger-text: #dc3545;
  --color-primary: #e3e7fd;
  --color-primary-text: #3b5bfd;
  --color-focus: #003d82;
  --bs-body-secondary: #dee2e6;
}

.gap-6 {
  gap: 6rem !important;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-large {
  width: 9rem;
  height: auto;
}

.logo-login {
  width: 130px;
}

a {
  transition: all 0.3s ease;

  &:hover {
    transition: all 0.3s ease;
  }
}

.hover-transition {
  transition: all 0.3s ease;

  &:hover {
    transition: all 0.3s ease;
  }
}

::placeholder {
  color: var(--bs-secondary) !important;
}

textarea {
  resize: none !important;
}

.table-transparent {
  --bs-table-bg: transparent !important;
}

.table th:hover {
  color: var(--color-black) !important;
}

.table th:hover svg {
  stroke: var(--color-black) !important;
}

input:focus,
textarea:focus,
select:focus,
input.form-control:focus,
textarea.form-control:focus,
select.form-select:focus,
.token-input:focus {
  border-color: var(--color-focus) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 61, 130, 0.25) !important;
  outline: none !important;
}

.login-container input:focus,
.login-container textarea:focus,
.login-container select:focus,
.login-container input.form-control:focus,
.login-container textarea.form-control:focus,
.login-container select.form-select:focus {
  border-color: var(--color-focus) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 61, 130, 0.25) !important;
  outline: none !important;
}

input[type="number"]:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--bs-secondary) !important;
}

.chart-container-bar {
  height: 200px !important;
}

.chart-container-doughnut {
  height: 350px !important;
}

.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-pending {
  background-color: var(--color-warning) !important;
  color: var(--color-warning-text) !important;
}

.status-green {
  background-color: var(--color-success) !important;
  color: var(--color-success-text) !important;
}

.status-sent {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-text) !important;
}

.status-danger {
  background-color: var(--color-danger) !important;
  color: var(--color-danger-text) !important;
}

.main-with-sidebar {
  margin-left: 280px;
}

main.main-with-sidebar {
  overflow-y: auto;
}

main.main-with-sidebar.dashboard-active {
  overflow-y: hidden !important;
}

aside ul li a.sidebar-link-active {
  background-color: var(--bs-secondary-bg) !important;
  color: var(--color-black) !important;
}

aside nav a:not(.active-page):hover {
  background-color: var(--bs-secondary-bg) !important;
}

aside nav a.active-page {
  background-color: var(--bs-secondary-bg) !important;
}

.table-scroll {
  max-height: 350px;
  overflow-y: auto;
  padding: 0 8px;
}

.table-scroll::-webkit-scrollbar {
  width: 8px;
}

.table-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
  transition: background-color 0.2s ease;
}

.table thead th:last-child {
  cursor: pointer;
}

.svg-bg-success {
  background: var(--color-success);
  color: var(--color-success-text);
  border-radius: 50%;
  padding: 0.5rem;
}

.svg-bg-warning {
  background: var(--color-warning);
  color: var(--color-warning-text);
  border-radius: 50%;
  padding: 0.5rem;
}

.svg-bg-danger {
  background: var(--color-danger);
  color: var(--color-danger-text);
  border-radius: 50%;
  padding: 0.5rem;
}

.svg-bg-primary {
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-radius: 50%;
  padding: 0.5rem;
}

button:focus {
  outline: none !important;
}

#mobileSignIn.btn-dark,
#mobileSignUp.btn-dark {
  background-color: #212529 !important;
  color: #fff !important;
  opacity: 1 !important;
}

.swiper-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--bs-dark);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 2rem;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: var(--bs-dark);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.categoria-link.active {
  background-color: var(--bs-body-secondary);
  color: var(--bs-dark);
  border-radius: 16px;
  padding: 8px 24px;
}

#categorias-menu span {
  width: 2px;
  height: 16px;
  background-color: currentColor;
  border-radius: 50px;
  opacity: 0.3;
}

.separator-vertical {
  width: 2px;
  height: 16px;
  background-color: currentColor;
  border-radius: 50px;
  opacity: 0.3;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--bs-dark);
  border-radius: 50px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Responsividade */

/* Garante que o modal fique acima do overlay-container e de todo o conteúdo */
.overlay-container {
  z-index: 1 !important;
  position: relative !important;
}
.modal {
  z-index: 99999 !important;
}
.modal-content {
  z-index: 100000 !important;
}
.modal-backdrop {
  z-index: 99998 !important;
}
.modal {
  z-index: 10500 !important;
}
.modal-content {
  z-index: 10600 !important;
}
/* Modal Bootstrap sem backdrop opaco e sempre acima do conteúdo */
.modal-backdrop {
  display: none !important;
}
.modal {
  z-index: 10000 !important;
  background: none !important;
}
.modal-content {
  z-index: 10001 !important;
}
/* Não esconder overlay-container ao abrir modal */
body.modal-open .overlay-container {
  display: block !important;
}
/* Garante que o modal Bootstrap fique acima de todo o conteúdo */
.modal-backdrop {
  z-index: 3000 !important;
}
.modal {
  z-index: 3100 !important;
}
.modal-content {
  z-index: 3200 !important;
}

/* =============================================================================
   RESPONSIVIDADE - MOBILE FIRST
   ============================================================================= */

/* Sidebar responsiva */
aside {
  width: 280px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

/* Botão hamburger para mobile */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 2rem;
  left: 1rem;
  z-index: 1001;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Overlay para mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Utilitários responsivos */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

/* Scroll horizontal para tabelas */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Melhorias de toque para mobile */
.categorias-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categorias-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

#categorias-menu {
  flex-wrap: nowrap;
}

.categoria-link {
  white-space: nowrap;
  flex-shrink: 0;
}

/* =============================================================================
  AJUSTES ADICIONAIS DE RESPONSIVIDADE
  ============================================================================= */

/* Container de tabelas com scroll horizontal */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Melhorar aparência do scrollbar em tabelas */
.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Telas muito pequenas */
@media (max-width: 375px) {
  .logo-large {
    width: 5rem !important;
  }

  aside nav a span {
    font-size: 0.875rem !important;
  }

  .table {
    min-width: 500px;
  }

  aside {
    width: 85%;
  }
}

/* Smartphones */
@media (max-width: 576px) {
  header h1 {
    font-size: 1.5rem !important;
  }

  .card {
    margin-bottom: 1rem;
  }

  .form-label {
    font-size: 0.875rem;
  }

  .form-control,
  .form-select {
    font-size: 16px !important;
  }

  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .table {
    font-size: 0.875rem;
  }

  .table td,
  .table th {
    padding: 0.5rem;
  }

  .modal-fullscreen-sm-down {
    max-width: 100%;
    margin: 0;
    height: 100%;
  }

  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border-radius: 0;
  }

  aside {
    width: 80%;
    max-width: 300px;
  }

  .p-5 {
    padding: 1.5rem !important;
  }

  .p-4 {
    padding: 1rem !important;
  }

  .status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .dropdown-menu {
    font-size: 0.875rem;
    max-width: 90vw;
  }

  .dropdown-toggle {
    font-size: 0.875rem;
  }

  .pagination {
    font-size: 0.875rem;
  }

  .page-link {
    padding: 0.375rem 0.75rem;
  }

  /* Ajustes específicos de componentes móveis */
  .swiper-slide img {
    height: 400px;
  }

  #productModal .modal-dialog {
    max-width: 95vw;
    margin: 0.5rem auto;
  }
  #productModal .modal-content {
    padding: 0.5rem !important;
  }
  #productModal .modal-body .row {
    gap: 1rem !important;
  }
  #productModal .modal-body .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  #modal-product-image {
    max-width: 180px;
    max-height: 180px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #productModal .modal-title {
    font-size: 1.1rem;
  }
  #productModal .btn,
  #productModal .form-control {
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
  }
  #productModal .modal-body {
    padding: 0.5rem 0.2rem;
  }

  /* Avatar pequeno no mobile */
  #avatar-img {
    height: 120px !important;
  }
}

/* Tablets (até 768px) */
@media (max-width: 768px) {
  .carousel-container .swiper-button-next,
  .carousel-container .swiper-button-prev {
    display: none;
  }

  .modal-dialog {
    max-width: 95%;
    margin: 0.5rem auto;
  }

  body.bg-light {
    padding: 0;
  }

  .login-container {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .form-container {
    width: 100% !important;
  }

  .sign-in-container,
  .sign-up-container {
    width: 100%;
  }

  .overlay-container {
    display: none;
  }

  .login-container.right-panel-active .sign-in-container {
    transform: translateX(-100%);
  }

  .login-container.right-panel-active .sign-up-container {
    transform: translateX(0);
  }

  .form-content {
    padding: 3rem 2rem 5rem !important;
    justify-content: flex-start !important;
    padding-top: 4rem !important;
  }

  /* Utilitários móveis */
  .w-mobile-100 {
    width: 100% !important;
  }
}

/* Tablets grandes e desktops pequenos */
@media (min-width: 768px) and (max-width: 1200px) {
  aside {
    width: 240px;
  }

  .main-with-sidebar {
    margin-left: 240px;
  }

  .logo-large {
    width: 7rem;
  }

  aside nav a {
    font-size: 1.1rem;
  }

  .login-container {
    width: 95%;
  }
}

/* Tablets e desktops médios (até 992px) */
@media (max-width: 992px) {
  aside {
    transform: translateX(-100%);
  }

  aside.show {
    transform: translateX(0);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-with-sidebar {
    margin-left: 0 !important;
    width: 100% !important;
  }

  main {
    padding: 4rem 1rem 1rem !important;
  }

  .gap-6 {
    gap: 3rem !important;
  }

  .logo-large {
    width: 7rem !important;
  }

  aside nav ul {
    gap: 1rem !important;
  }

  aside nav a {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
  }

  aside {
    padding: 2rem 1.5rem !important;
  }

  .row > .col-lg-3 {
    margin-bottom: 1rem;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    min-width: 600px;
  }

  .modal-dialog {
    margin: 1rem;
  }

  .chart-container-bar,
  .chart-container-doughnut {
    min-height: 250px !important;
  }

  .btn-group-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-group-mobile .btn {
    width: 100%;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }

  .card {
    margin-bottom: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .card-header h5 {
    font-size: 1.1rem;
  }

  .card .row {
    margin: 0;
  }

  .card .col-md-6,
  .card .col-md-4,
  .card .col-md-3 {
    padding: 0.5rem;
  }

  .col-custom-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  button,
  a,
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .table tbody tr:hover {
    background-color: transparent;
  }
}

/* Desktop wide */
@media (min-width: 992px) {
  .categorias-scroll-wrapper {
    overflow-x: visible;
  }

  #categorias-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .desktop-header {
    display: block !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Landscape (mobile) */
@media (max-height: 600px) and (orientation: landscape) {
  aside {
    overflow-y: auto;
  }

  .gap-6 {
    gap: 1rem !important;
  }

  aside nav ul {
    gap: 0.5rem !important;
  }
}

/* Impressão */
@media print {
  aside,
  .mobile-menu-toggle,
  .sidebar-overlay,
  .btn,
  button {
    display: none !important;
  }

  .main-with-sidebar {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .table {
    font-size: 0.75rem;
  }

  .card {
    break-inside: avoid;
  }
}

/* Ajustar dropdowns no mobile */
@media (max-width: 576px) {
  .dropdown-menu {
    max-width: 90vw;
  }

  .dropdown-toggle {
    font-size: 0.875rem;
  }
}

/* Ajustar modais no mobile */
@media (max-width: 768px) {
  .modal-dialog {
    max-width: 95%;
    margin: 0.5rem auto;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .modal-footer .btn {
    flex: 1 1 100%;
    margin-bottom: 0.5rem;
  }
}

/* Ajustar inputs e selects no mobile */
@media (max-width: 576px) {
  .form-control,
  .form-select {
    font-size: 16px !important; /* Previne zoom no iOS */
  }

  .input-group {
    flex-wrap: wrap;
  }

  .input-group-text {
    font-size: 0.875rem;
  }
}

/* Ajustar badges e status */
@media (max-width: 576px) {
  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .status-badge {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
  }
}

/* Promo Badge for Product Cards */
.promo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: linear-gradient(90deg, #ff5e62 0%, #ff9966 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 0.35em 0.85em;
  border-radius: 1.5em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  user-select: none;
}

/* Ajustar paginação no mobile */
@media (max-width: 576px) {
  .pagination {
    font-size: 0.875rem;
  }

  .page-link {
    padding: 0.375rem 0.75rem;
  }
}

/* Grid responsivo customizado */
@media (max-width: 992px) {
  .col-custom-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Ajustes para impressão */
@media print {
  aside,
  .mobile-menu-toggle,
  .sidebar-overlay,
  .btn,
  button {
    display: none !important;
  }

  .main-with-sidebar {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .table {
    font-size: 0.75rem;
  }

  .card {
    break-inside: avoid;
  }
}

/* Otimizações de performance */
aside,
.mobile-menu-toggle,
.sidebar-overlay {
  will-change: transform, opacity;
}
/* Mobile Bottom Nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #6c757d;
  transition: color 0.3s ease;
}

.mobile-nav-link.active {
  color: var(--bs-dark);
}

.mobile-nav-link svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-link span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Desktop only */
@media (min-width: 992px) {
  .desktop-header {
    display: block !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Mobile only */
@media (max-width: 991.98px) {
  .desktop-header {
    display: none !important;
  }

  #avatar-img {
    height: 120px !important;
  }
}

.catalogo-produto-nome,
.product-card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* =============================================================================
   ESTILOS ESPECÍFICOS DA TELA DE LOGIN COM EFEITO SLIDE
   ============================================================================= */

/* Container principal do login */
body.bg-light {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem;
  overflow: hidden;
}

.login-container {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  width: 1100px;
  max-width: 100%;
  height: 90vh;
  max-height: 750px;
}

@media (max-width: 992px) {
  .sign-up-container .form-content {
    overflow-y: auto !important;
    max-height: calc(100vh - 80px);
    padding-bottom: 8rem !important;
  }
}

/* Containers dos formulários */
.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.login-container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.login-container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

/* Conteúdo dos formulários */
.form-content {
  height: 100%;
}

@media (max-width: 992px) {
  .form-content {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: visible !important;
    padding-bottom: 6rem !important;
  }
}

.form-content form {
  width: 100%;
  max-width: 450px;
}

/* Container do overlay */
.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.login-container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

/* Overlay com gradiente */
.overlay {
  background: var(--bs-secondary-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #fff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.login-container.right-panel-active .overlay {
  transform: translateX(50%);
}

/* Painéis do overlay */
.overlay-panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.login-container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.login-container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

/* Transições suaves para botões */
.login-container .btn {
  transition: all 0.3s ease;
}

.login-container .btn:hover {
  transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
  body.bg-light {
    padding: 0;
  }

  .login-container {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .form-container {
    width: 100% !important;
  }

  .sign-in-container {
    width: 100%;
  }

  .sign-up-container {
    width: 100%;
  }

  .overlay-container {
    display: none;
  }

  .login-container.right-panel-active .sign-in-container {
    transform: translateX(-100%);
  }

  .login-container.right-panel-active .sign-up-container {
    transform: translateX(0);
  }

  .form-content {
    padding: 3rem 2rem 5rem !important;
    justify-content: flex-start !important;
    padding-top: 4rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .login-container {
    width: 95%;
  }
}

/* Botões de toggle mobile */
.mobile-toggle-buttons {
  z-index: 1000;
}

/* =============================================================================
   PÁGINA DE ATIVAÇÃO DE CONTA
   ============================================================================= */

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.token-input {
  letter-spacing: 5px;
}

/* Custom modal styles */
.modal-content {
  border: none !important;
  border-radius: 2rem !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Custom SweetAlert2 styles para FR Semijoias */
.swal2-popup {
  background: #fff !important;
  border-radius: 2rem !important;
  color: #212529 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  font-family: "Poppins", sans-serif !important;
}

.swal2-title {
  color: #212529 !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
}

.swal2-content {
  color: #6c757d !important;
  font-size: 1rem !important;
}

.swal2-success-ring,
.swal2-icon.swal2-success {
  border-color: #198754 !important;
  color: #198754 !important;
}

.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background: #198754 !important;
}

.swal2-confirm {
  background: #198754 !important;
  color: #fff !important;
  border-radius: 1rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border: none !important;
}

.swal2-cancel {
  border-radius: 1rem !important;
}

.swal2-icon.swal2-warning {
  color: #ffc107 !important;
  border-color: #ffc107 !important;
}

.btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

#compras-lista {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#compras-lista::-webkit-scrollbar {
  display: none;
}
