
body,
html {
    height: 100%;
    margin: 0;
    font-family: "Inter", sans-serif;
}
.table-responsive {
    overflow-x: hidden; /
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
    white-space: nowrap;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
}

form.mb-3 {
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-bottom: 1.5rem !important; 
    flex-wrap: wrap;
}

form.mb-3 label {
    font-size: 1.1rem; 
    font-weight: 600; 
    color: #1f2d73;
    margin-bottom: 0; 
}

form.mb-3 select#jornada {
    padding: 0.6rem 1.8rem 0.6rem 0.8rem;
    font-size: 1rem; 
    border: 1px solid #c0c0c0; 
    border-radius: 0.5rem;
    background-color: #fefefe;
    color: #222222; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; 
    background-repeat: no-repeat;
    background-position: right 0.8rem center; 
    background-size: 0.8em; 
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

form.mb-3 select#jornada:hover {
    border-color: #1f2d73; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form.mb-3 select#jornada:focus {
    outline: none;
    border-color: #1f2d73;
    box-shadow: 0 0 0 0.2rem rgba(31, 45, 115, 0.25);
}

@media (max-width: 767px) {
    form select {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.4rem;
    }

    form.mb-3 select#jornada {
        width: 100%;
        font-size: 0.95rem; 
        padding: 0.5rem 1.5rem 0.5rem 0.75rem; 
    }

    form.mb-3 {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }
}


@media (max-width: 767px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        padding: 0.75rem;
    }

    .table td {
        padding-left: 50%;
        text-align: right;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        white-space: normal;
    }

    .table td:last-child {
        border-bottom: none;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.75rem;
        top: 0.5rem;
        width: 45%;
        font-weight: 600;
        text-align: left;
    }

    form select {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.4rem;
    }
}
