input,
select,
textarea {
  font-size: 16px !important;
}
.input-group .iti{
  width: 100% !important;
}
.category-container {
  gap: 12px;
}

.search-bar-inline {
  flex-shrink: 0;
  min-width: 250px;
  max-width: 300px;
  display: flex;
  align-items: center;
}
.category-card {
  background: linear-gradient(180deg, #ffde4a, #fdd800);
  border-radius: 10px;
  padding: 5px;
  width: auto;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /*min-width: 110px;*/
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
.category-card i {
  font-size: 32px;
  color: #fdd800;
  display: block;
}
.category-card span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #0a1120;
}

.category-games-container .row .game-item img{
  max-width: 100% !important; /* ou auto */
}
.category-title{
  color: #fdd800 !important;
}

.provider-container {
  gap: 12px;
}
.provider-card {
  background: linear-gradient(180deg, #070c18, #0a1d4a);
  border-radius: 10px;
  margin-right: 10px;
  padding: 5px;
  height: 32px;
  width: auto;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 150px;
}
.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
.provider-card span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.avatar {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-sm {
  width: 1.75rem;
  height: 1.75rem;
}

.avatar-title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.dropdown-user .dropdown-menu {
  min-width: 200px;
}

.dropdown-user .dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-user .dropdown-item:hover {
  background-color: rgba(0, 123, 255, 0.1);
}
.bs-stepper-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;   /* impede amassar */
  min-height: 50px;  /* idem */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;    /* não deixa reduzir no flex */
}
.bs-stepper-circle.active {
  background: linear-gradient(135deg, #fdd800 0%, #b39901 100%);
  color: #0a1120;
}

.bs-stepper-circle.inactive {
  background: #e9ecef;
  color: #6c757d;
}

/* Scrollbar estilizado (Webkit) */
::-webkit-scrollbar {
  width: 10px;             /* largura da barra vertical */
  height: 10px;            /* altura da barra horizontal */
}

::-webkit-scrollbar-track {
  background: #070C18;      /* fundo do track */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #fdd800;      /* cor principal */
  border-radius: 10px;
  border: 2px solid #070C18; /* cria "espacinho" e dá efeito de borda */
}

::-webkit-scrollbar-thumb:hover {
  background: #ffe642;      /* cor mais clara no hover */
}

/* Scrollbar moderno (Firefox) */
* {
  scrollbar-width: thin;              /* mais fino */
  scrollbar-color: #fdd800 #070C18;   /* polegar / track */
}
/* Chrome, Edge, Safari */
.d-flex.overflow-auto::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.d-flex.overflow-auto {
  scrollbar-width: none; /* esconde */
  -ms-overflow-style: none; /* IE 10+ */
}

.scroll-x {
  overflow-x: auto;
  -ms-overflow-style: none; /* IE e Edge antigo */
  scrollbar-width: none; /* Firefox */
}

.scroll-x::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.game-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.game-item img {
  display: block;
  width: 100%;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-item:hover img,
.game-item:active img {
  opacity: 0.4;
}

.game-item:hover .game-overlay,
.game-item:active .game-overlay {
  opacity: 1;
}

.game-overlay button {
  margin: 5px 0;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: lighter;
  width: 100px;
}

.btn-real {
  background: #7ecd01;
  color: #fff;
}

.btn-demo {
  background: #ffea07;
  color: #000;
}

.form-control {
  background-color: #2e3535;
  border: none;
  color: #fff;
  padding: 12px;
  font-size: 14px;
}

.form-control:focus {
  background-color: #2e3535;
  box-shadow: none;
  border: 1px solid #252525;
  color: #fff;
}

.input-group-text {
  background-color: transparent;
  border: none;
  color: #bbb;
  cursor: pointer;
}

.input-group {
  border-radius: 6px;
  overflow: hidden;
  background-color: #2e3535;
}

small.text-danger {
  margin-left: 4px;
}

/* Infinite Scroll Games Grid Styles */
.games-grid-container {
  min-height: 100vh;
}

.game-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.game-item .text-muted {
  color: #adb5bd !important;
  font-size: 0.75rem;
}

/* Loading indicator styles */
#loading-indicator .spinner-border {
  width: 2rem;
  height: 2rem;
  border-color: #fdd800;
  border-right-color: transparent;
}

#loading-indicator p {
  color: #adb5bd;
  margin-top: 0.5rem;
}

/* Responsive adjustments for infinite scroll grid */
@media (max-width: 576px) {
  .game-title {
    font-size: 0.75rem;
  }

  .game-item .text-muted {
    font-size: 0.625rem;
  }

  .game-overlay button {
    font-size: 0.625rem;
    padding: 0.125rem 0.25rem;
    width: 80px;
  }
}

/* Ensure proper aspect ratio for game images in grid */
.games-grid-container .game-item img {
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Smooth transitions for infinite scroll */
.games-grid-container .game-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.games-grid-container .game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Lazy rendering placeholder animation */
@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.game-item-placeholder .placeholder-card {
  background: linear-gradient(90deg, #2e3535 25%, #3e4545 50%, #2e3535 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

/* Dark theme placeholder for better visibility */
.placeholder-card {
  border: 1px solid #444;
}
