#modelViewerVisorGLB, #idVisorGLB {
    width: 100%;
    height: 600px;
    max-width: 200%;
    display: block;
}

@media (max-width: 768px) {
    #idVisorGLB, #modelViewerVisorGLB {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #idVisorGLB,#modelViewerVisorGLB {
        height: 180px;
    }
}

.txtCabecera{
    font-size: 1.5rem;
}

main { 
  margin-top: 70px; /* deja espacio para la navbar */
  height: calc(100vh - 70px);
  overflow-y: auto;
  padding-bottom: 4rem; /* Espacio para el pie de página fijo */
} 

/* Estilos para la página de login */
.body-login{
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
}

.login-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  width: 100%;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.login-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/*.login-logo img {
  width: 100px;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}*/

.imgLoginZoco {
  width: 100px;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.imgLoginRCI {
  width: 12rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.form-control {
  /*border-radius: 0.75rem;*/
  border: 1px solid #ced4da;
  /*padding: 0.75rem 1rem;*/
}

.form-control:focus {
  border-color: #43554fff;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn-login {
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background-color: #43554fff;
}

.errorLogin {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.login-footer {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 1.5rem;
  text-align: center;
}


/* Tamaño iconos*/
.icono2_5{
height: 2.5rem;
}

.icono2{
height: 2rem;
}

.icono1_2{
height: 1.2rem;
}

.icono1_75{
height: 1.75rem;
}
.icono1_5{
height: 1.5rem;
}

.colorHead{
  background-color: #5a6d67ff;
  color: white;
}

/* Aumenta especificidad para sobreescribir estilos de Bootstrap en th y botones */
table.table thead.colorHead th,
.colorHead th{
  background-color: #5a6d67ff;
  color: white;
}

.btn.colorHead{
  background-color: #5a6d67ff;
  border-color: #5a6d67ff;
  color: white;
}

.colorPrincipalBarraNavegacion{
    background-color: #43554fff;
}

.colorPiePagina{
    background-color: rgba(0, 0, 0, 0.05);
}

.iconoBtn{
    cursor: pointer;
}

.barraNavegacion{
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.colorSubBarraNavegacion{
    background-color: #43554fff;
}

.dropdown .dropdown-item:active {
  background-color: rgb(19, 139, 0); /* O el color que desees */
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  color: #000 !important;
  background-color: #fff !important; /* contraste */
}


/* Tooltip personalizado para resultados */
.tooltip-resultado .tooltip-inner {
  background: #fff;
  color: #212529;
  text-align: left;
  max-width: 360px;
  padding: 0;                /* lo controlamos con la tarjeta interna */
  border-radius: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.08);
}

/* Flecha blanca */
.tooltip-resultado .tooltip-arrow::before {
  border-top-color: #fff !important;   /* top por defecto; Bootstrap ajusta según colocación */
  border-right-color: #fff !important;
  border-bottom-color: #fff !important;
  border-left-color: #fff !important;
}

/* Tarjeta interna del tooltip */
.tt-card { padding: .75rem .9rem; }
.tt-head {
  font-weight: 600;
  margin-bottom: .5rem;
  display: flex; flex-wrap: wrap; align-items: center;
}
.tt-titulo { font-size: .95rem; }
.tt-sep { opacity: .5; margin: 0 .35rem; }
.tt-usuario { opacity: .8; font-size: .9rem; }
.tt-body { font-size: .9rem; line-height: 1.35; }
.tt-label { font-weight: 600; opacity: .85; }

/* Destacar únicamente el th que tiene un filtro aplicado (sin inline styles) */
table.table thead th.filter-active {
  color: #07ff49 !important; /* amarillo bootstrap-ish */
}

/* Icono del toggle de filtros */
#btnToggleFilters { padding: .05rem .35rem; }
#logFiltersToggleIcon { font-weight: 700; }