.contenido {
    margin-top: 70px;
    margin-left: -0px;
    margin-right: -50;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 5;
    aling: center;
    bordercolor: #FBF9F9;
    border: -0;
}

.ng-invalid input.ng-invalid {
    border: thin solid #990000;
}

.ng-invalid select.ng-invalid {
    border: thin solid #990000;
}

.messages {
    color: #990000;
}

form.ng-submitted input.ng-invalid {
    border-color: #990000;
}

form input.ng-invalid.ng-touched {
    border-color: #990000;
}


.valores { 
    background-color: #bbbab8; /* Color amarillo para resaltar */
    font-weight: bold;
}
.pendiente {
    background-color: #FF5722; /* Color naranja para el total general */
    color: white;
    font-weight: bold;
    text-align: center; 
}
.proceso { 
    background-color: #FFEB3B; /* Color amarillo para resaltar */
    font-weight: bold;
    text-align: center; 
}
.cerrado {
    background-color: #2e5002; /* Color naranja para el total general */
    color: white;
    font-weight: bold;
    text-align: center; 
}
.totales {
    background-color: #4a4c4e; /* Gris oscuro para destacar */
    color: #ffffff;            /* Texto blanco para contraste */
    font-weight: bold;
    font-size: 14px;           /* Tamaño de fuente ligeramente mayor */
    border-top: 3px solid #000000; /* Borde superior para separación */
    text-align: center; 
}

.opcional {
    background-color: #ffd000; /* Gris oscuro para destacar */
    font-weight: bold;
    font-size: 14px;           /* Tamaño de fuente ligeramente mayor */
    border-top: 3px solid #000000; /* Borde superior para separación */
    text-align: center; 
}

.link-resaltado {
color: #ff9800 !important; /* Color resaltado (naranja) */
font-weight: bold;         /* Texto en negrita */
text-decoration: underline; /* Subrayado */
transition: color 0.3s;    /* Transición suave para el color */
}

.link-resaltado:hover {
    color: #e65100;            /* Color más oscuro al pasar el mouse */
}

.totales-row td {
    border: 1px solid #dee2e6; /* Borde para cada celda */
    padding: 10px;             /* Espaciado interno */
}

.totales-row {
    background-color: #494f55; /* Gris oscuro para destacar la fila */
    color: #ffffff;            /* Texto blanco para contraste */
    font-weight: bold;         /* Texto en negrita */
    font-size: 14px;           /* Tamaño de fuente ligeramente mayor */
    border-top: 3px solid #000000; /* Borde superior para separación */
    text-align: center;        /* Centrar el texto */
}



.indicador-tooltip::after {
    content: '•';
    color: #007bff;
    font-size: 16px;
    margin-left: 5px;
}

.indicador-tooltip {
    border-bottom: 1px dotted #007bff; /* Subrayado punteado */
    cursor: help; /* Cursor en forma de ayuda */
}

/* Estilos para las celdas de estado */
.estado-celda {
  padding: 8px;
  text-align: center;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.estado-pendiente {
  background-color: #a52222;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.estado-progreso {
  background-color: #ddf50a;
  color: #0a0a0a;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.estado-cerrado {
  background-color: #198754;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}


/* Estilos para el layout flexible */
.d-flex {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
}

.form-control {
    flex: 0 0 auto;
    margin-right: 5px;
}

/* Estilos para indicadores de cumplimiento */
.cumplimiento-1 {
    background-color: #28a745 !important; /* Verde fuerte */
    color: white;
}

.cumplimiento-0 {
    background-color: #dc3545 !important; /* Rojo fuerte */
    color: white;
}

/* Estilos de tabla */
.table td {
    font-size: 12px;
    padding: 4px;
}

.table th {
    font-size: 12px;
    padding: 8px;
    text-align: center;
}

.table td div {
    margin: 2px 0;
}


.tab-content > .tab-pane {
    display: block;
    height: 0;
    overflow: hidden;
}
.tab-content > .active {
    height: auto;
    overflow: visible;
}
.card {
    margin-bottom: 0;
}
.tab-content {
    min-height: 400px;
}

/* Estilos específicos para la tabla de Acumulados del Año */
.tabla-acumulados {
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 15px 0;
    width: 100%;
}

.tabla-acumulados thead {
    background: #2c3e50;
}

.tabla-acumulados thead th {
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tabla-acumulados tbody tr {
    transition: all 0.3s ease;
}

.tabla-acumulados tbody tr:hover {
    background-color: #f5f5f5;
}

.tabla-acumulados .valores {
    background-color: #f8f9fa;
    font-size: 13px;
}

.tabla-acumulados .valores td {
    padding: 10px;
    border: 1px solid #e9ecef;
}

.tabla-acumulados .valores td:first-child {
    font-weight: 600;
    color: #495057;
}

.tabla-acumulados .totales-row {
    background-color: #e9ecef;
    font-weight: bold;
}

.tabla-acumulados .totales-row td {
    padding: 12px;
    color: #2c3e50;
    font-size: 14px;
    border-top: 2px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.tabla-acumulados .text-right {
    text-align: right;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    color: #0056b3;
}

/* Estilos para los valores monetarios */
.tabla-acumulados td.text-right {
    position: relative;
    padding-right: 15px !important;
}

.tabla-acumulados td.text-right::before {
    content: '$';
    position: absolute;
    left: 10px;
    color: #6c757d;
}

/* Estilos para destacar datos clave */
.tabla-acumulados tr.totales-row.dato-clave {
    background-color: #17a2b8;
}

.tabla-acumulados tr.totales-row.dato-clave td {
    color: white;
    font-size: 15px;
    font-weight: 700;
}

.tabla-acumulados tr.totales-row.dato-clave td.text-right {
    color: #ffffff;
}