/* Vistio Business v1.1.73 — scrollbar visible sin invadir bordes.
   El instalador desactiva la hoja v1.1.72; este archivo no cambia los
   contenedores ni su lógica. La rueda, el teclado y el touch siguen activos. */

/* Visual consistente en scrolls existentes, también en secciones dinámicas. */
html, body, body * {
  scrollbar-color: #bd9456 transparent;
  scrollbar-width: thin;
}
:where(html, body, body *)::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
:where(html, body, body *)::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}
:where(html, body, body *)::-webkit-scrollbar-track:vertical {
  margin-block: 16px;
}
:where(html, body, body *)::-webkit-scrollbar-track:horizontal {
  margin-inline: 16px;
}
:where(html, body, body *)::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 1px solid transparent;
  background: #bd9456 padding-box;
}
:where(html, body, body *)::-webkit-scrollbar-thumb:hover {
  background: #d7b576 padding-box;
}
:where(html, body, body *)::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
:where(html, body, body *)::-webkit-scrollbar-corner { background: transparent; }

/* Registro/Acceso. Mantiene la barra junto al borde derecho actual. El espacio
   adicional inferior pertenece al CONTENIDO DESPLAZABLE: la última fila y el
   enlace para cambiar de modo se pueden ver completos, incluso con poco alto. */
#auth-modal .vb170-auth-scroll {
  padding-block-end: 32px !important;
  scroll-padding-block-end: 32px;
  scrollbar-gutter: stable;
  scrollbar-color: #c29b60 transparent;
}
#auth-modal .vb170-auth-scroll::-webkit-scrollbar {
  display: block;
  width: 6px !important;
  height: 0 !important;
}
#auth-modal .vb170-auth-scroll::-webkit-scrollbar-track:vertical {
  display: block;
  background: transparent !important;
  border-radius: 999px;
  margin-block: 25px !important;
}
#auth-modal .vb170-auth-scroll::-webkit-scrollbar-thumb {
  display: block;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #dfbc79, #ae8044) padding-box !important;
}
#auth-modal .vb170-auth-scroll::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
#auth-modal .vb170-auth-scroll::-webkit-scrollbar-corner { background: transparent; }

/* Conserva radios y espacio seguro sin abrir otra barra en el marco. */
#auth-modal .modal-panel.vb148-auth-shell {
  scrollbar-width: none;
}
#auth-modal .modal-panel.vb148-auth-shell::-webkit-scrollbar {
  display: none;
  width: 0;
}

@media (max-width:640px) {
  #auth-modal .vb170-auth-scroll {
    padding-block-end: 34px !important;
    scroll-padding-block-end: 34px;
  }
  #auth-modal .vb170-auth-scroll::-webkit-scrollbar { width: 5px !important; }
  #auth-modal .vb170-auth-scroll::-webkit-scrollbar-track:vertical {
    margin-block: 20px !important;
  }
}
@supports (-moz-appearance: none) {
  #auth-modal .vb170-auth-scroll {
    scrollbar-width: thin;
    scrollbar-color: #c29b60 transparent;
  }
}
