/* ===========================
   LOGIN / AUTH
   =========================== */

/* Que el layout del login use TODO el ancho de la pantalla */
.page-layout {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
}

/* Que el wrapper del auth también llene ese ancho */
.auth-wrapper {
  width: 100% !important;
}

.auth-card {
  max-height: none !important;
}

/* Logo TS Capital responsive */
.brand-logo {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* En pantallas pequeñas (móviles), lo hacemos un poco más chico */
@media (max-width: 576px) {
  .brand-logo {
    max-width: 160px;
  }
}

/* ===========================
   DASHBOARD / HEADER FIX
   =========================== */

/* Altura real del header */
:root {
  --header-height: 64px; /* ajusta si tu header crece */
}

/* Empujar TODO el contenido debajo del header fijo */
.dashboard-body {
  padding-top: var(--header-height);
}

/* Celda % participación */
.pct-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 90px;
}

/* Texto porcentaje */
.pct-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
}

/* Contenedor barra */
.pct-bar {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

/* Barra rellena */
.pct-bar-fill {
  height: 100%;
  background-color: #0d6efd; /* Bootstrap primary */
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Sticky solo en mobile */
@media (max-width: 991.98px) {
  .sticky-mobile {
    position: sticky;
    top: 0;
    z-index: 1030; /* sobre contenido */
    background: #fff; /* evita transparencias */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}