/* styles.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #007BFF;
    color: white;
    font-size: 17px;
}

td input[type="text"] {
    width: 98%; /* Full width minus padding */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

td input[type="checkbox"] {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0 auto;
}

th:nth-child(2), th:nth-child(3), td:nth-child(2), td:nth-child(3) {
    width: 10%; /* Reduce width of the checkbox columns */
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #003f9e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
    border-radius: 20px;

}
.eliminar{
    background-color: #ed0000;
    border-radius: 20px;

}
.p{
    text-align: center;
    font-size:15px;
    width: 4%;
}
.estudio{
    font-size: 15px;
}

.logo-container{
    width: 5%;
}

button:hover {
    background-color: #0aff50;
    color: rgb(0, 0, 0);
}
@media (max-width: 768px) {
    table, .button-container {
        width: 100%;
    }

    th, td {
        padding: 8px;
    }

    button, .eliminar {
        padding: 8px 10px;
        font-size: 10px;
    }

    .p{
        text-align: center;
        font-size:10px;
        width: 3%;
    }
    .estudio{
        font-size: 10px;
    }
    th {
        background-color: #007BFF;
        color: white;
        font-size: 9px;
    }
    td input[type="text"] {
        width: 88%; /* Full width minus padding */
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    .logo-container {
        width: 10%; /* Asegura que el logo sigue siendo visible adecuadamente */
    }
}