#tblApuntes input, #tblApuntes select {
        width: 100%;
        box-sizing: border-box;
    }
    #tblApuntes {
        width: 100%;
        table-layout: fixed;
    }

.aptcontainer {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow-x: auto;
}

.aptcontainer h1,
.aptcontainer h2 {
    text-align: center;
    color: #333;
}

.aptcontainer table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;

}

.aptcontainer th,
td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}



.aptcontainer th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: center;
}

.aptcontainer input,
select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.aptcontainer input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.aptbuttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.aptcontainer  button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;

    color: white;
}

.aptcontainer  button:hover {
    background-color: #0056b3;
}

.aptcontainer  button[type="button"] {
    color: black;
    border: 1px solid black;
}

.aptcontainer  button[type="button"]:hover {
    background-color: #0056b3;
}

.aptcontainer  button[type="submit"] {
    background-color: #7DA5E0;
    color: white;
}

.aptcontainer  button[type="submit"]:hover {
    background-color: #0056b3;
}



.aptcontainer  button[type="button"][onclick="guardarAsiento()"] {
    background-color: #28a745;
}

.aptcontainer  button[type="button"][onclick="guardarAsiento()"]:hover {
    background-color: #218838;
}

@media (max-width: 600px) {
    .aptcontainer {
        padding: 10px;
    }

    .aptcontainer table,
    th,
    td {
        font-size: 12px;
    }

    .aptbuttons {
        flex-direction: column;
    }

    .aptcontainer  button {
        width: 100%;
    }
}