/* ============================================================
 * snowball-theme.css
 * Estilos globales del proyecto Snowball, extraídos del bloque <style>
 * inline de templates/boot1_header.tpl durante la migración a Bootstrap 5.3.
 * Centralizados aquí para evitar CSS inline y permitir cache.
 * (Migración Fase 5 — anti-inline)
 * ============================================================ */

html {
  overflow-x: hidden;
}

.bg-bluedark {
  background: #000CB8 !important;
}

.navbar a {
  font-weight: 300 !important;
}

.navbar a.active {
  font-weight: 700 !important;
}

.cookiealert a {
  color: #FFF !important;
}

.proyecto__tipo {
  position: absolute;
  top: 146px;
  left: 0px;
  border-radius: 24px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 0px;
  text-shadow: 2px 1px 5px #000000;
}

.youtube__video,
.youtube__video iframe {
  border-radius: 20px !important;
}

.bg-secondary-2 {
  background-color: #FFB979;
}

.fa-info-circle {
  cursor: pointer;
}

.error {
  color: red;
}

.fa-circle-play {
  opacity: 1;
  background-color: #FFFFFF;
  border-radius: 50%;
  padding: 0px;
  text-shadow: 2px 2px 8px #094AD7;
}

.fa-circle-play:hover {
  opacity: 0.8;
}

.image__load {
  opacity: 0;
}

header,
footer {
  background-size: 100% auto;
  background-repeat: repeat-y;
}

.btn {
  position: relative;
}

.new-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background-color: #ff5722;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
  }
}

a.btn-outline-dark:hover {
  color: #FFFFFF !important;
}

.header__user--name {
  min-width: 128px;
}

.btn-outline-dark {
  background-color: rgba(255, 255, 255, 0.4);
}

.chartjs-render-monitor {
  max-height: 600px;
}

.text-muted,
.small,
small {
  color: #000000 !important;
}

.modal_one_page_body {
  min-height: 77vh;
}

/* ── Scrollbar global: visual delgado, click area 4× ── */
:root {
  --sb-visual: 5px;
  --sb-hit: 20px;
}

/* VERTICAL */
::-webkit-scrollbar {
  width: var(--sb-hit);
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 7.5px solid transparent;
  background-clip: content-box;
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.45);
  background-clip: content-box;
}

/* HORIZONTAL */
::-webkit-scrollbar {
  height: var(--sb-hit);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 7.5px solid transparent;
  background-clip: content-box;
  min-width: 40px;
}

/* Firefox — custom properties */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Tablas en chat y respuestas de IA: scroll horizontal si exceden el contenedor */
.msg-assistant table,
.chat-messages-container table,
.table-chat {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
}

.msg-assistant table td,
.msg-assistant table th {
  white-space: normal;
  min-width: 80px;
}
