/* Sidebar fijo */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 220px;
    background-color: #f5f5f5;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    overflow-y: auto;
}

.sidebar h5 {
    margin-top: 0;
    font-weight: bold;
    color: #333;
}

.app-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background-color 0.2s;
}

.app-list li:hover {
    background-color: #e0e0e0;
}

.app-list li.active-app {
    background-color: #2196F3;
    color: white;
}

/* Contenedor principal con sidebar */
.container-with-sidebar {
    margin-left: 240px; /* Espacio para el sidebar */
}

/* Filtros */
.fixed-filters {
    margin-left: 240px; /* Ajustar el ancho debido al sidebar */
}

/* Contenido principal */
.content {
    padding: 20px;
    margin-top: 60px;
}

/* Estilo para tablas */
.table-empty {
    text-align: center;
    font-style: italic;
    color: #777;
}

.section h2 {
    color: #333;
    font-weight: 500;
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5em;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.page-size-select {
    max-width: 120px !important;
}

.sortable-header {
    cursor: pointer;
}
/* Círculos de estado */
/* Círculos de estado */
.status-circle-container {
    text-align: center;
}

.status-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.status-green {
    background-color: #4CAF50; /* Verde */
}

.status-yellow {
    background-color: #FFEB3B; /* Amarillo */
}

.status-orange {
    background-color: #FF9800; /* Naranja */
}

.status-red {
    background-color: #F44336; /* Rojo */
}

.status-gray {
    background-color: #9E9E9E; /* Gris */
}

/* Fondos en tonos pastel para la fila */
.status-bg-yellow {
    background-color: #FFF9C4 !important; /* Amarillo pastel */
}

.status-bg-orange {
    background-color: #FFE0B2 !important; /* Naranja pastel */
}

.status-bg-red {
    background-color: #FFCDD2 !important; /* Rojo pastel */
}

.status-bg-gray {
    background-color: #E0E0E0 !important; /* Gris pastel */
}

/* Estilos para la tabla de resumen por retail y app */
.retail-status-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.retail-status-table-container {
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.retail-status-table th, 
.retail-status-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.retail-status-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.retail-status-cell {
    position: relative;
    min-width: 40px;
    height: 40px;
}

.status-count {
    font-size: 12px;
    margin-top: 4px;
    color: #333;
}

/* Botones de paginación para la tabla de resumen */
.retail-status-pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
