﻿/* CONTENEDOR PRINCIPAL */
.mud-table-container {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* CABECERAS */
.columnas-thmud {
    background-color: #2c3e50 !important;
    font-family: 'Segoe UI' !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important; /* Borde derecho sutil */
}

.columnas-thmud:last-child {
    border-right: none !important; /* Elimina borde de la última columna */
}

.celda-mudtb {
    border-right: 1px solid #e0e0e0 !important; /* Borde para celdas */
}

.celda-mudtb:last-child {
    border-right: none !important;
}


/* CELDAS */
.celda-mudtb {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-family: 'Segoe UI' !important;
    border-bottom: 1px solid #e0e0e0 !important;
    transition: background-color 0.2s ease;
    font-weight: bold;
    background-color: #aeb4ac;
    color: #000000 !important;
}

.mud-table-row:hover .celda-mudtb {
    background-color: #007896 !important;
}

/* GRUPOS */
.mud-table-cell-custom-group {
    background-color: #3498db !important;
    color: white !important;
    font-weight: bold !important;
    text-align: left;
}

/* PIE DE GRUPO */
.mud-table-cell-custom-group-footer {
    background-color: #ecf0f1 !important;
    font-weight: bold !important;
    color: #2c3e50 !important;
    text-align: left;
}

/* TEXTO CABECERA */
.TextoCabezera {
    color: #2c3e50;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* BADGES ESTADO */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

.bg-success {
    background-color: #27ae60 !important;
    color: white !important;
}

.bg-danger {
    background-color: #e74c3c !important;
    color: white !important;
}

/* CELDA ESTADO */
.estado-con-badge {
    text-align: center !important;
}

/* COLUMNAS ESPECÍFICAS */
.celda-mudtb[data-label="Total"] {
    font-weight: 600;
    color: #2c3e50;
}



.celda-mudtb[data-label="Total"],
.celda-mudtb[data-label="ValorUnitario"],
.celda-mudtb[data-label="Cantidad"] {
    font-family: 'Roboto Mono', monospace;
}

/* PAGINADOR */
.pager-estilizado {
    border-top: 1px solid #e0e0e0 !important;
    padding: 8px 16px !important;
    background-color: #f8f9fa !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SIN REGISTROS */
.texto-sin-registros {
    padding: 16px;
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

/* SCROLLBAR */
.mud-table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.mud-table-container::-webkit-scrollbar-thumb {
    background-color: #bdc3c7;
    border-radius: 4px;
}

.mud-table-container::-webkit-scrollbar-thumb:hover {
    background-color: #95a5a6;
}


.dashboard-stats-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background-color: #194a7a;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 24px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stat-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-Acoordeon {
    gap: 16px;
    padding: 12px;
    font-weight:bold;
    background-color: #194a7a;
    color: white;
    border-radius:  20px !important;
    transition: all 0.3s ease;
}

.stat-Acoordeon:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.accordion-cuerpo {
    font-weight: bold;
    background-color: #eaeaea;
    border-radius: 20px !important;
}
