.dashboard-footer {
  margin-left: 250px;
}

#tableSocios tr {
  text-align: center;
}

@media (min-width: 768px) {
  .dataTables_filter input {
    width: 400px !important;
  }

  #tableSocios {
    width: 100% !important;
  }
}

/* Media query para dispositivos móviles con ancho máximo de 767px */
@media (max-width: 767px) {
  .dashboard-footer {
    margin-left: 0px;
  }

  .dataTables_filter input {
    width: auto !important;
  }
}

@media screen and (max-width: 1024px) {
  .dt-buttons {
    margin-bottom: 10px;
  }
}

/* Fuente del sistema solo para spans específicos, no genéricos */
.system-font span {
  font-family: -apple-system,BlinkMacSystemFont,
  "Segoe UI",Roboto,"Helvetica Neue",
  Arial,sans-serif;
}

/* Modal Rol Nuevo */

.invalidate {
  border-color: #dc3545 !important;
  padding-right: calc(1.5em + 0.75rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center right calc(0.375em + 0.1875rem) !important;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.app-sidebar__user-avatar {
  width: 60px;
  background: gray;
  padding: 6px;
}
.app-sidebar__toggle{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}
.app-sidebar__toggle::before{
  display: none;
}
.headerRegister{
  background: #b11a02;
  color: #FFF;
}
.headerUpdate{
  background: #b11a02;
  color: #FFF;
}
.notBlock{
  display: none;
}

.modal-body {
  max-height: calc(100vh - 143px);
  overflow-y: auto;
}

.tile-footer {
  text-align: right;
}

.logo-gym {
  width: 120px;
  height: 120px;
}

.btn-entrar {
  background-color: #e74a31 !important;
}

.modal-title  {
  color: white;
}


/* Estilos cards */
.img-card {
  width: 60px;
  height: 60px;
}

/* Estilos Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 45px
}

/* Estilos para el texto del footer */
footer #container-title-footer {
  font-size: 14.5px; /* Reducir el tamaño del texto */
  line-height: 1.5; /* Ajustar el espacio entre líneas */
}

.btn-height {
  height: 33px;
}

.dataTables_filter input {
  font-size: 17px;
}

#formSocio label {
  font-weight: 600;
  color: #343a40 !important;

}

#formSocio .form-control {
  font-size: 16px !important;
}

#container-buttons-fingerprint button {
  font-size: 14px;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  font-size: 14px;
}

.container-socios-title .fa-user-tag {
  color: black !important;
}


.container-socios-title h1{
  color: black !important;
}

/* MODAL PRODUCTOS */
#txtDescripcion {
  text-align: left;
}


@media print {
  /* Ocultar el botón de imprimir dentro del modal al imprimir */
  #btn-imprimir {
    display: none !important;
  }
}

.img-producto {
  height: 80px;
  width: 80px;
}

.cantidad-precio {
  width: 80px;
}


#barcodeInput {
  position: absolute; 
  left: -9999px;
}

#barcodeInput2 {
  position: absolute; 
  left: -9999px;
}

.img-preview-product {
  width: 65px;
  height: 65px;
}

#tableProductos tr {
  text-align: center;
}


#tableVentas tr {
  text-align: center;
}

.icon-ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  position: relative;
  left: 22px;
}

#titulo-totalProductoVentas {
  font-size: 19px;
  color: black;
}

/* ESTILOS TARJETAS DASHBOARD */

.box-shadow{
	-webkit-box-shadow: 0 1px 1px rgba(72,78,85,.6);
	box-shadow: 0 1px 1px rgba(72,78,85,.6);
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-ms-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	transition: all .2s ease-out;
}

.box-shadow:hover{
	-webkit-box-shadow: 0 10px 30px rgba(72,78,85,.6);
	box-shadow: 0 10px 30px rgba(72,78,85,.6);
	-webkit-transform: translateY(-2px);
	-moz-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	-o-transform: translateY(-2px);
	transform: translateY(-2px);
  cursor: pointer;
}

/* Estilos selector busqueda productos dashboard */
.suggestions {
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1;
  width: 100%;
  text-align: left;
}
.suggestions div {
    padding: 5px;
    cursor: pointer;
}
.suggestions div:hover {
    background: #bbbbbb;
}


/* Estilos del Módulo de Toallas */
.spinner-container_toalla {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  min-height: -9vh;
}

.spinner-toalla {
  position: relative;
  left: 120px;
}

.d-flex {
  display: flex;
  align-items: center; /* Vertically center the buttons */
}

.gap-2 {
  gap: 0.5rem; /* Adds spacing between the buttons */
}

/* Estilos de la imagen del steelman en el menú */

.logo-gym-header {
  width: 10%;
  position: fixed;
  object-fit: cover;
  left: 15px;
  bottom: 10px;
  display: none;
}


/* Estilos módulo cinturones */
.spinner-container_cinturon {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  min-height: -9vh;
}

.spinner-toalla_cinturon {
  position: relative;
  left: 120px;
}


/* EGRESOS */
.card h5 {
  color: white !important;
}

.card-body h4 {
  color: black !important;
}

/* NOTIFICACIONES */
/* Animación para la campana */
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.campana-animate {
    animation: shake 0.8s ease-in-out;
}

/* Estilos para el dropdown de notificaciones */
#menu-notificaciones {
  width: 550px !important;
  max-height: 700px;
  overflow-y: auto;
}

.notification-item {
    transition: all 0.3s ease;
    padding: 10px 15px !important;
}

.notification-item:hover {
    background-color: #f8f9fa !important;
    transform: translateX(2px);
}

/* Fondos según prioridad */
.bg-light-danger {
    background-color: #f8d7da !important;
}

.bg-light-warning {
    background-color: #fff3cd !important;
}

.bg-light-info {
    background-color: #d1ecf1 !important;
}

.bg-light-secondary {
    background-color: #e2e3e5 !important;
}

/* Badge del contador */
.navbar-badge {
 position: absolute;
  top: 0.25rem;
  left: 10px;
  font-size: 11px !important;
  min-width: 30px;
  height: 1.2rem;
  line-height: 5px;
  border: 1px white solid;
  text-align: center;
  border-radius: 50%;
}

/* Efectos de entrada para notificaciones nuevas */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-new {
    animation: slideInRight 0.5s ease-out;
}

/* Scrollbar personalizado para el dropdown */
#menu-notificaciones::-webkit-scrollbar {
    width: 2px;
}

#menu-notificaciones::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#menu-notificaciones::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#menu-notificaciones::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Indicador visual para notificaciones críticas */
.notification-item.border-danger::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #dc3545, #ff6b6b);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    #menu-notificaciones {
        width: 300px !important;
        left: -250px !important;
    }
}

.fa-bell {
  color: #ffffff;
  font-size: 18px !important;
}

#notificaciones-dropdown {
  margin-top: 7px;
}

.user_account {
  margin-left: 5px;
}

.mensaje-notificacion {
  white-space: pre-wrap;
}

#header-notificaciones {
  font-size: 18px;
  font-weight: bold;
}

/* Espaciado dinámico para campana de notificaciones */
#notificaciones-dropdown {
  transition: margin-right 0.3s ease; /* Transición suave */
}

#notificaciones-dropdown.mr-close {
  margin-right: 1px !important; /* Más cerca del icono de usuario cuando no hay notificaciones */
}

#notificaciones-dropdown.mr-normal {
  margin-right: 1px !important; /* Más separado cuando hay notificaciones para dar espacio al badge */
}

/* Mejorar posicionamiento del badge */
#campana-notificaciones {
  position: relative;
  transition: all 0.3s ease;
  transform-origin: top center;
}

/* Animación de hover para la campana */
#campana-notificaciones:hover {
  animation: bell-ring 0.6s ease-in-out;
}

/* Animación de campana balanceándose */
@keyframes bell-ring {
  0%, 100% { 
    transform: rotate(0deg); 
  }
  15%, 45%, 75% { 
    transform: rotate(-12deg); 
  }
  30%, 60%, 90% { 
    transform: rotate(12deg); 
  }
}

/* Efecto adicional para el ícono de la campana */
#campana-notificaciones .fa-bell {
  transition: all 0.2s ease;
}

#campana-notificaciones:hover .fa-bell {
  color: #ffc107 !important;
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

/* Efecto bounce cuando sale el cursor */
#campana-notificaciones {
  animation-fill-mode: forwards;
}

/* Mejora para el badge cuando hay hover */
#campana-notificaciones:hover #contador-notificaciones {
  transform: scale(1.1);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1.1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1.1); }
}

#contador-notificaciones {
  position: absolute;
  top: -3px;
  left: 5px;
  min-width: 20px;
  font-weight: 700;
  height: 20px;
  border-radius: 50%;
  font-size: 11px !important;
  line-height: 5px;
  text-align: center;
  z-index: 1000;
}

/* Estilos para productos con stock bajo */
.stock-bajo {
  background-color: #ffebee !important; /* Fondo rosa claro */
  border-left: 4px solid #f44336 !important; /* Borde izquierdo rojo */
  position: relative;
}

.stock-bajo:hover {
  background-color: #ffcdd2 !important; /* Fondo rosa más intenso al hacer hover */
}

/* Fila con stock crítico (menos de 5) */
.stock-critico-fila {
  animation: parpadeoFila 3s infinite; /* Animación de parpadeo para toda la fila */
}

/* Animación de parpadeo para stock crítico */
@keyframes parpadeo {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.7; }
}

@keyframes parpadeoFila {
  0%, 70% { 
    background-color: #ffebee !important; 
  }
  71%, 100% { 
    background-color: #ffcdd2 !important; 
  }
}

/* Estilos mejorados para badges de stock */
.badge-stock {
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.badge-stock:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ==============================================
   ESTILOS PARA CONFIGURACIÓN - AJUSTADOS PARA BOOTSTRAP 4
   ============================================== */

/* Contenedor principal de configuración */
/* .app-content {
    padding-left: 10px;
    padding-right: 10px;
} */

/* Switch personalizado mejorado para Bootstrap 4 */
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
    border-radius: 2em;
    background-color: #e9ecef;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background-image: none;
    margin-left: -2.5em;
}

.form-switch .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

/* Labels mejorados para los switches */
.form-switch .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
    padding-left: 1rem;
}

.form-switch .form-check-label strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-switch .form-check-label small {
    display: block;
    color: #6c757d;
    font-style: italic;
}

/* Cards mejoradas para configuración */
.config-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.config-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.config-card .card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.config-card .card-header i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Controles de color mejorados */
.form-control-color {
    width: 50px;
    height: 38px;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1px;
}

.form-control-color:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Inputs más pequeños */
.form-control-sm {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* Tabs personalizados */
.nav-tabs .nav-link {
    border-radius: 4px 4px 0 0;
    margin-right: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.nav-tabs .nav-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

/* Badges personalizados para configuración */
.config-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.config-badge.badge-success {
    background-color: #28a745;
    color: white;
}

.config-badge.badge-secondary {
    background-color: #6c757d;
    color: white;
}

/* Botones personalizados */
.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* Contenedores de switches con estados */
.form-switch.bg-light {
    background-color: #f8f9fa !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-switch.bg-light:hover {
    background-color: #e9ecef !important;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .app-content {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .form-switch .form-check-input {
        width: 2em;
        height: 1em;
        margin-left: -2em;
    }
    
    .config-card {
        margin-bottom: 1rem;
    }
    
    .config-card .card-body {
        padding: 1rem;
    }
    
    .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Ajustes específicos para la vista de configuración */
.tile {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0;
    margin-bottom: 2rem;
}

.tile-body {
    padding: 1.5rem;
}

.tile-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
}

/* Override de los estilos existentes conflictivos */
.form-switch {
    padding-left: 0 !important;
    margin-bottom: 1rem !important;
}

/* Restaurar el font-weight normal para badges de Bootstrap */
.badge:not(.badge-stock):not(.config-badge) {
    font-weight: normal !important;
}

/* Asegurar que las celdas de tabla tengan font-weight normal */
td {
    font-weight: normal !important;
}

.tab-pane h6 {
  color: white;
}

#formConfiguracion .form-control {
  font-size: 14px;
}

/* Controles de cámara */
.controles-camara h6 {
  color: black;
  font-weight: bold;
}

.camara-instrucciones {
  color: black !important;
  font-style: italic;
}

/* Estilos para el icono de mostrar/ocultar contraseña */
.input-group-text {
  background-color: #fff;
  border-left: 0;
  transition: all 0.3s ease;
}

.input-group-text:hover {
  background-color: #f8f9fa;
}

.input-group-text i {
  color: #6c757d;
  transition: color 0.3s ease;
}

.input-group-text:hover i {
  color: #495057;
}

/* Asegurar que el input y el icono estén alineados */
.input-group > .form-control {
  border-right: 0;
}

.input-group > .form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}

.input-group > .form-control:focus + .input-group-append .input-group-text {
  border-color: #80bdff;
}

.btn-new-egreso {
  position: relative;
  margin: 10px;
  top: 20px;
  left: 13px;
}
