    /* Mantener los estilos existentes y agregar/modificar según sea necesario */
    :root {
        --primary-dark: #2C3E50;
        --secondary-dark: #34495E;
        --text-white: #FFFFFF;
        --border-color: #E9ECEF;
        --bg-light: #F8F9FA;
    }
  
    .card {
        border: none;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .header-bg {
        background-color: var(--primary-dark);
    }
  
    .header-logo {
        height: 35px;
        width: auto;
    }
  
    .header-title {
        font-size: 1.25rem;
        font-weight: 600;
    }
  
    .panel-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--primary-dark);
        padding: 0.75rem 1rem;
        margin-bottom: 1.5rem;
        background-color: var(--primary-dark);
        color: var(--text-white);
        border-radius: 6px;
    }
  
    .info-panel,
    .action-panel,
    .status-panel {
        background: #fff;
        border-radius: 8px;
        padding: 1.5rem;
        height: 100%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
  
    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: var(--bg-light);
        border-radius: 6px;
    }
  
    .info-item i {
        color: var(--primary-dark);
        font-size: 1.1rem;
        margin-top: 0.2rem;
    }
  
    .info-item label {
        font-size: 0.8rem;
        color: #6c757d;
        margin-bottom: 0.2rem;
    }
  
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
  
    .btn-action {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: var(--bg-light);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        transition: all 0.3s ease;
        color: var(--primary-dark);
    }
  
    .btn-action:hover {
        background: var(--secondary-dark);
        color: var(--text-white);
        transform: translateX(5px);
    }
  
    .status-badge {
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 500;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
  
    .status-badge.completado {
        background-color: #28a745;  /* Verde para Completado */
        color: white;
    }
  
    .status-badge.pendiente {
        background-color: #fd7e14;  /* Naranja para Pendiente */
        color: white;
    }
  
    .status-badge i {
        font-size: 14px;
        margin-right: 4px;
    }
  
    .save-button {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transition: all 0.3s ease;
    }
  
    .save-button:hover {
        background-color: var(--secondary-dark);
        border-color: var(--secondary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
    }
  
    /* Ajustes específicos para la nueva distribución */
    .table-mobile {
        width: 100%;
        margin-bottom: 0;
        border-collapse: separate;
        border-spacing: 0;
    }
  
    .table-mobile thead th {
        background: var(--primary-dark);
        color: var(--text-white);
        font-weight: 600;
        padding: 1rem;
        text-align: center;
        white-space: nowrap;
    }
  
    .table-mobile tbody td {
        padding: 0.75rem;
        vertical-align: middle;
    }
  
    .table-mobile .form-control-sm,
    .table-mobile .form-select-sm {
        height: 36px;
    }
  
    .action-panel,
    .status-panel {
        height: 100%;
        min-height: 300px;
    }
  
    .status-badge.pending {
        width: 100%;
        justify-content: center;
    }
  
    /* Estilos para la tabla de criterios */
    .criterios-header .table {
        border-collapse: collapse;
        margin-bottom: 0;
    }
  
    /* Header principal oscuro */
    .criterios-header .bg-gradient-dark {
        background-color: #2c3e50 !important;
        color: white;
    }
  
    /* Columna Autorizado */
    .criterios-header .bg-success {
        background-color: #27ae60 !important; /* Verde más suave */
        color: white;
    }
  
    /* Columna Suspensión Temporal */
    .criterios-header .bg-warning {
        background-color: #f1c40f !important; /* Amarillo más suave */
        color: #2c3e50; /* Texto oscuro para mejor contraste */
    }
  
    /* Columna Suspensión Inmediata */
    .criterios-header .bg-danger {
        background-color: #e74c3c !important; /* Rojo más suave */
        color: white;
    }
  
    /* Ajustes generales de la tabla */
    .criterios-header th,
    .criterios-header td {
        vertical-align: middle;
        padding: 1rem;
        border: 1px solid #dee2e6;
    }
  
    /* Iconos en las celdas */
    .criterios-header i {
        font-size: 1.2rem;
        vertical-align: middle;
    }
  
    /* Texto pequeño en las celdas */
    .criterios-header small {
        display: block;
        margin-top: 0.25rem;
        opacity: 0.9;
    }
  
    /* Estilos para el encabezado de la tabla de criterios */
    .criterios-header .table thead tr:first-child {
        background: linear-gradient(to bottom, #34495e, #2c3e50);
    }
  
    .criterios-header .table thead th {
        color: white;
        padding: 15px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #40556e;
    }
  
    /* Estilo específico para la primera columna */
    .criterios-header .table thead th:first-child {
        background: linear-gradient(to right, #2c3e50, #34495e);
        text-align: left;
        padding-left: 20px;
    }
  
    /* Ajuste del texto del encabezado */
    .criterios-header .table th {
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
    }
  
    /* Estilos para las celdas de estado */
    .criterios-header .table thead tr:last-child td {
        padding: 15px;
        text-align: center;
        border: none;
    }
  
    /* Autorizado - Verde */
    .criterios-header .table td.bg-success {
        background: #2ecc71 !important;
        color: white;
    }
  
    /* Suspensión Temporal - Amarillo */
    .criterios-header .table td.bg-warning {
        background: #f1c40f !important;
        color: #2c3e50;
    }
  
    /* Suspensión Inmediata - Rojo */
    .criterios-header .table td.bg-danger {
        background: #e74c3c !important;
        color: white;
    }
  
    /* Estilos para los iconos y textos dentro de las celdas */
    .criterios-header .table td i {
        font-size: 18px;
        margin-right: 8px;
        vertical-align: middle;
    }
  
    .criterios-header .table td small {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        opacity: 0.9;
    }
  
    /* Ajuste del texto principal */
    .criterios-header .table td span {
        font-weight: 500;
        vertical-align: middle;
    }
  
    /* Estilos para la tabla de información */
    .info-table {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
        margin-bottom: 0;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
  
    .info-table td {
        padding: 0.75rem;
        vertical-align: middle;
    }
  
    .info-table .bg-light {
        background-color: var(--bg-light) !important;
        font-weight: 600;
        color: var(--primary-dark);
    }
  
    /* Estilos responsivos para la tabla de información */
    @media screen and (max-width: 991px) {
        .info-table {
            display: block;
        }
        
        .info-table tbody {
            display: block;
        }
        
        .info-table tr {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.5rem;
            padding: 1rem;
            margin-bottom: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--bg-light);
        }
        
        .info-table td {
            display: block;
            padding: 0.5rem 0;
            border: none;
        }
        
        .info-table td.bg-light {
            background: none !important;
            padding-bottom: 0;
            font-size: 0.875rem;
        }
        
        /* Ajustes para los campos de entrada */
        .info-table .form-control-sm,
        .info-table .form-select-sm {
            width: 100%;
        }
        
        /* Ajustes para los radio buttons */
        .info-table .d-flex.align-items-center {
            flex-wrap: wrap;
            gap: 1rem;
        }
    }
  
    /* Ajustes adicionales para pantallas muy pequeñas */
    @media screen and (max-width: 576px) {
        .info-table tr {
            padding: 0.75rem;
        }
        
        .info-table .form-check-inline {
            margin-right: 1rem;
        }
    }
  
    /* Estilos para la evaluación final */
    .evaluacion-panel {
        background: white;
        border-radius: 8px;
        padding: 20px;
        height: 100%;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
  
    .evaluacion-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
  
    .progress-circle {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 10px solid #eee;
        margin: 20px auto;
    }
  
    .porcentaje-final {
        font-size: 38px;
        font-weight: 500;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        letter-spacing: -0.5px;
    }
  
    /* Colores según el rango */
    .porcentaje-final.tolerable {
        color: #2ecc71; /* Verde para ≥ 80% */
    }
  
    .porcentaje-final.moderado {
        color: #f1c40f; /* Amarillo para 60% - 79% */
    }
  
    .porcentaje-final.intolerable {
        color: #e74c3c; /* Rojo para < 60% */
    }
  
    .puntaje-total {
        text-align: center;
        font-size: 16px;
        color: #2C3E50;
    }
  
    .puntaje-final {
        font-size: 20px;
        font-weight: bold;
    }
  
    .estado-badge-container {
        text-align: center;
        margin: 15px 0;
    }
  
    .estado-badge {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 500;
        font-size: 14px;
    }
  
    .estado-badge.pendiente {
        background-color: #ffc107;
        color: #000;
    }
  
    .puntajes-detalle {
        width: 100%;
        margin-top: 20px;
    }
  
    .puntaje-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
  
    .puntaje-label {
        color: #2C3E50;
        font-size: 14px;
    }
  
    .puntaje-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }
  
    .puntaje {
        color: #6c757d;
        font-size: 14px;
    }
  
    .porcentaje {
        background: #007bff;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        min-width: 40px;
        text-align: center;
    }
  
    /* Ajustes específicos para los badges de estado */
    .badge-success {
        background-color: #28a745;
        color: white;
    }
  
    .badge-warning {
        background-color: #ffc107;
        color: #000;
    }
  
    .badge-danger {
        background-color: #dc3545;
        color: white;
    }
  
    .badge-secondary {
        background-color: #6c757d;
        color: white;
    }
  
    /* Estilos base para la tabla de criterios */
    .criterios-header {
        margin-bottom: 2rem;
        width: 100%;
    }
  
    .criterios-header .table {
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
        border-spacing: 0;
    }
  
    /* Ajuste de anchos de columnas */
    .criterios-header th[rowspan="2"] {
        width: 40%;
        vertical-align: middle;
        background: #2C3E50;
    }
  
    .criterios-header th:not([rowspan="2"]) {
        width: 20%;
    }
  
    /* Estilos para las celdas de estado */
    .criterios-header .bg-success {
        background: #2ecc71 !important;
    }
  
    .criterios-header .bg-warning {
        background: #f1c40f !important;
    }
  
    .criterios-header .bg-danger {
        background: #e74c3c !important;
    }
  
    /* Estilos para el contenido */
    .criterios-header td, 
    .criterios-header th {
        padding: 1rem;
        text-align: center;
    }
  
    .criterios-header i {
        font-size: 1.25rem;
        vertical-align: middle;
    }
  
    /* Media queries para responsividad */
    @media screen and (max-width: 768px) {
        .criterios-header .table {
            display: block;
            width: 100%;
        }
  
        .criterios-header .table thead,
        .criterios-header .table tbody,
        .criterios-header .table tr {
            display: block;
            width: 100%;
        }
  
        .criterios-header .table th[rowspan="2"],
        .criterios-header .table th,
        .criterios-header .table td {
            display: block;
            width: 100% !important;
            text-align: center;
            padding: 1rem;
            height: auto;
        }
  
        .criterios-header .table th[rowspan="2"] {
            background: #2C3E50;
            color: white;
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
  
        /* Ajustes para los estados de riesgo */
        .criterios-header .bg-success,
        .criterios-header .bg-warning,
        .criterios-header .bg-danger {
            width: 100% !important;
            margin: 0;
        }
  
        /* Ajuste del contenido dentro de las celdas */
        .criterios-header i {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
        }
  
        .criterios-header span {
            display: block;
            margin-bottom: 0.25rem;
        }
  
        .criterios-header small {
            display: block;
        }
    }
  
    @media screen and (max-width: 576px) {
        .criterios-header {
            margin: 1rem 0;
        }
  
        .criterios-header .table {
            border-radius: 4px;
        }
  
        .criterios-header td,
        .criterios-header th {
            padding: 0.75rem;
        }
  
        .criterios-header .fw-bold {
            font-size: 0.9rem;
        }
  
        .criterios-header small {
            font-size: 0.8rem;
        }
    }
  
    /* Ajustes adicionales para mejor visualización */
    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
    }
  
    .bg-gradient-dark {
        background: #2C3E50 !important;
    }
  
    .text-white {
        color: #FFFFFF !important;
    }
  
    .fw-bold {
        font-weight: 600 !important;
    }
  
    /* Estilos para la tabla de colaboradores */
    #tablaColaboradores {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
        margin-bottom: 0;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
  
    #tablaColaboradores thead th {
        background: #2C3E50;
        color: white;
        font-weight: 500;
        padding: 1rem;
        text-align: left;
        border-bottom: 2px solid rgba(255,255,255,0.1);
    }
  
    #tablaColaboradores tbody tr {
        border-bottom: 1px solid #eef2f7;
    }
  
    #tablaColaboradores tbody tr:last-child {
        border-bottom: none;
    }
  
    #tablaColaboradores tbody td {
        padding: 0.8rem 1rem;
    }
  
    #tablaColaboradores .form-control[readonly] {
        background-color: #f8f9fa;
        border: 1px solid #eef2f7;
        border-radius: 4px;
        color: #2C3E50;
        font-weight: 500;
    }
  
    #tablaColaboradores select.form-control {
        border: 1px solid #eef2f7;
        border-radius: 4px;
        background-color: white;
        color: #2C3E50;
        font-weight: 500;
        cursor: pointer;
    }
  
    #tablaColaboradores select.form-control:hover {
        border-color: #2C3E50;
    }
  
    #tablaColaboradores tbody tr:hover {
        background-color: rgba(44, 62, 80, 0.02);
    }
  
    /* Estilos responsivos para la tabla de colaboradores */
    @media screen and (max-width: 768px) {
        #tablaColaboradores {
            box-shadow: none;
        }
  
        #tablaColaboradores thead {
            display: none; /* Ocultamos el encabezado en móviles */
        }
  
        #tablaColaboradores tbody tr {
            display: block;
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            border-radius: 4px;
        }
  
        #tablaColaboradores tbody td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #eef2f7;
        }
  
        #tablaColaboradores tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #2C3E50;
            margin-right: 1rem;
        }
  
        #tablaColaboradores select.form-control {
            width: 50%;
            margin-left: auto;
        }
  
        #tablaColaboradores .form-control[readonly] {
            width: 50%;
            text-align: right;
        }
    }
  
    /* Ajustes para tablets */
    @media screen and (min-width: 769px) and (max-width: 1024px) {
        #tablaColaboradores thead th {
            padding: 0.75rem;
        }
  
        #tablaColaboradores tbody td {
            padding: 0.5rem;
        }
  
        #tablaColaboradores .form-control {
            font-size: 0.9rem;
        }
    }
  
    .status-badge.success {
        background-color: #28a745;
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
  
    .status-badge.success i {
        color: white;
    }
  
    .status-badge {
        font-weight: 500;
        font-size: 14px;
    }
  
    .status-badge {
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: bold;
        display: inline-block;
    }
  
    .status-badge.pending {
        background-color: #ffc107;
        color: #000;
    }
  
    .status-badge.in-progress {
        background-color: #17a2b8;
        color: #fff;
    }
  
    .status-badge.success {
        background-color: #28a745;
        color: #fff;
    }
  
    .detalle-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
  
    .detalle-item > div {
        display: flex;
        align-items: center;
        gap: 10px;
    }
  
    .detalle-item span:first-child {
        color: #2C3E50;
        font-weight: 500;
    }
  
    .puntaje-personal,
    .puntaje-buceo,
    .puntaje-seguridad {
        color: #6c757d;
        font-size: 14px;
    }
  
    .porcentaje {
        background: #007bff;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        min-width: 40px;
        text-align: center;
    }
  
    /* Estilos para el círculo del porcentaje estilo iOS */
    .circle-progress {
        width: 160px;
        height: 160px;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        position: relative;
        box-shadow: 
            inset 0 0 15px rgba(0, 0, 0, 0.05),
            0 8px 15px rgba(0, 0, 0, 0.05);
    }
  
    .circle-progress::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border: 3px solid #2ecc71;
        border-radius: 50%;
        opacity: 0.9;
    }
  
    .porcentaje-final {
        font-size: 38px;
        font-weight: 500;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        letter-spacing: -0.5px;
    }
  
    /* Mantener los estilos anteriores del status badge */
    .status-badge {
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 500;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
  
    .status-badge.completado {
        background-color: #28a745;
        color: white;
    }
  
    .status-badge.pendiente {
        background-color: #fd7e14;
        color: white;
    }
  
    .status-badge i {
        font-size: 14px;
        margin-right: 4px;
    }
  
    /* Estilos para los porcentajes en los detalles */
    .detalle-item .porcentaje {
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        min-width: 40px;
        text-align: center;
        color: white;
    }
  
    /* Colores según el rango */
    .detalle-item .porcentaje[data-valor="100"],
    .detalle-item .porcentaje[data-valor^="8"],
    .detalle-item .porcentaje[data-valor^="9"] {
        background-color: #2ecc71; /* Verde para ≥ 80% */
    }
  
    .detalle-item .porcentaje[data-valor^="6"],
    .detalle-item .porcentaje[data-valor^="7"] {
        background-color: #f1c40f; /* Amarillo para 60-79% */
    }
  
    .detalle-item .porcentaje[data-valor^="0"],
    .detalle-item .porcentaje[data-valor^="1"],
    .detalle-item .porcentaje[data-valor^="2"],
    .detalle-item .porcentaje[data-valor^="3"],
    .detalle-item .porcentaje[data-valor^="4"],
    .detalle-item .porcentaje[data-valor^="5"] {
        background-color: #e74c3c; /* Rojo para < 60% */
    }
  

