/* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.alert-container {
    top: 5rem;
    right: 2rem;
    position: absolute;
    z-index: 50;
}

.is-hidden {
    display: none;
}

@-webkit-keyframes marquee {
    0% {text-indent:100%;}
    100% {text-indent:-200%}
}


.clickable {
    cursor: pointer;
}


body {
    padding-top: 8rem; 
    font-family: 'Outfit', system-ui, sans-serif;
  margin: 0;
  overflow: auto;
}


#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;               
  height: 100vh;

  background-image: url("/static/background.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0 0;

  animation: scrollBg 60s linear infinite;
  z-index: -1;
}

@keyframes scrollBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -1800px 0;  /* ancho real de la imagen */
  }
}

.user-avatar {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.hist-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.hist-imgs {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hist-img {
  width: 100%;
  max-width: 48%;
  height: auto;
}

.hist-label {
  text-align: center;
  font-weight: 500;
}

/* Desktop */
@media (min-width: 768px) {
  .hist-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .hist-imgs {
    order: 2;
    max-width: 70%;
  }

  .hist-label {
    order: 1;
    text-align: left;
    min-width: 120px;
  }
}

canvas {
  z-index: 9999 !important;
}
.swal2-image {
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 6px;
}

.select-overlay button {
  padding: 10px 18px;
}

.centrar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}