

.table-container {
    width: 95%;
    overflow-x: auto;
    scroll-behavior: smooth;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
   /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    border-radius: 2px;
    overflow: hidden;
}

thead th {
    background-color: #0e73b6;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 12px 15px;
    transition: background-color 0.3s ease;
    border-right: 1px solid #2980b9;
    font-size: 0.9em;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

thead th:first-child {
    left: 0;
    z-index: 2;
    text-align: left;
}

thead th:last-child {
    border-right: none;
}



tbody tr {
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #eee;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}



td {
    padding: 10px 15px;
    text-align: center;
    font-size: 0.85em;
    white-space: nowrap;
}

td:first-child {
    text-align: left;
    font-weight: 400;
    position: sticky;
    left: 0;
    background-color: inherit;
    z-index: 1;
}

.icon-yes {
    color: #34ac66 !important;
    font-size: 1em;
    display: inline-block;
}

/* Estilos para móvil */
@media (max-width: 600px) {
   

    .table-container {
        width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        border-radius: 0;
        box-shadow: none;
    }

    thead {
        display: none;
    }

    tbody {
        display: block;
    }

    tbody tr {
        display: block;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 10px;
        padding: 10px;
    }

    tbody td {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 6px 0;
        border-bottom: 1px dashed #eee;
    }

    tbody td:last-child {
        border-bottom: none;
    }

    tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 10px;
        width: 50%;
        display: flex;
    }

    tbody td:first-child {
        font-weight: normal;
        position: static;
    }

    .icon-yes {
        font-size: 1em;
        margin-left: auto;
    }
}