body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(rgba(0, 49, 0, 0.604)), url(/Frontend/images/bandera.png);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    background-attachment: fixed;
}

.botonFiltrar {
    position: absolute;
    top: 11%;
    left: 33%;
    width: 15%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    transition: All 0.5s ease;
    box-shadow: 0 0 10px rgb(61, 61, 61);
}

.botonFiltrar:hover {
    transform: scale(1.05);
    background-image: url(/Frontend/images/fondoBoton.PNG);
    background-size: cover;
    background-position: center;
}

.botonFiltrar img {
    position: absolute;
    width: 20px;
    top: 25%;
    right: 5px;
    margin-right: 10px;
}

.botonesFiltrar {
    display: none;
    position: absolute;
    width: 51%;
    top: 18%;
    left: 35%;
    right: 7%;
    transition: all 0.5s ease;
    text-align: center;
}

.filtrarCedula {
    width: 200px;
    transition: All 0.5s ease;
}

.filtrarCedula:focus {
    transform: scale(1.05);
    border-color: none;
    transition: All 0.5s ease;
}

.filtrarNombre {
    border: none;
    width: 375px;
    transition: All 0.5s ease;
}

.filtrarNombre:focus {
    transform: scale(1.05);
    border-color: none;
    transition: All 0.5s ease;
}

.botonBorrarFiltro {
    background-color: #ffcccc;
    border: none;
    border-radius: 100px;
    font-size: 70%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(255, 0, 0);
    transition: All 0.5s ease;
    cursor: pointer;
}

.botonBorrarFiltro:hover {
    transform: scale(1.1);
    background-color: #ffbaba;
}

.botonesFiltrar input {
    margin-right: 60px;
    text-align: center;
    height: 35px;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

.input {
    position: absolute;
    top: 10%;
    left: 35%;
    width: 15%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

.botonRegistrar {
    position: absolute;
    top: 11%;
    left: 58%;
    width: 30%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    transition: All 0.5s ease;
    box-shadow: 0 0 10px rgb(0, 94, 17);
}

.botonRegistrar:hover {
    transform: scale(1.05);
    background-image: url(/Frontend/images/fondoBoton.PNG);
    background-size: cover;
    background-position: center;
}

.botonRegistrar img {
    position: absolute;
    width: 20px;
    top: 25%;
    right: 5px;
    margin-right: 10px;
}

.tituloMedidas {
    text-align: center;
    width: 100%;
    margin-top: 3%;
    margin-bottom: 2%;
    font-size: 165%;
}

.botonTodos, .botonC1, .botonC2, .botonC3, .botonC4, .botonC5, .botonC6 {
    border: none;
    height: 40px;
    width: 100%;
    cursor: pointer;
    font-size: 17px;
    color: white;
    background-color: #138035;
    transition: all 0.3s ease;
}

.botonTodos:hover, .botonC1:hover, .botonC2:hover, .botonC3:hover, .botonC4:hover, .botonC5:hover, .botonC6:hover {
    background-color: #eefff3;
    color: black;
}

.botonComisarias:hover {
    background-color: #ff0000;
    box-shadow: 2px 0 10px rgb(0, 94, 17);
}

.seccionBotonesComisarias {
    display: flex;
    position: absolute;
    top: 30%;
    left: 19%;
    width: 80%;
    height: auto;
    z-index: 3;
    transition: All 0.5s ease;
}

.medidas {
    z-index: 1;
    display: flex;
    justify-content: center;
    background-color: #eefff3;
    position: absolute;
    top: 35%;
    left: 19%;
    width: 80%;
    height: 63%;
    transition: All 0.5s ease;
    margin-bottom: 200px;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    overflow-y: auto;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.botonFiltrar.contraer {
    position: absolute;
    top: 10%;
    left: 25%;
    width: 15%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

.botonesFiltrar.contraer {
    display: flex;
    position: relative;
    top: 17%;
    left: 35%;
    right: 7%;
    transition: All 0.5s ease;
}

.botonRegistrar.contraer {
    position: absolute;
    top: 10%;
    left: 52%;
    width: 30%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

.medidas.contraer {
    display: flex;
    justify-content: center;
    background-color: #eefff3;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    position: absolute;
    top: 35%;
    left: 7%;
    width: 92%;
    height: 100%;
    transition: All 0.5s ease;
}

.botonFiltrar.mostrar1 {
    position: absolute;
    top: 6%;
    left: 33%;
    width: 15%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

.botonRegistrar.mostrar1 {
    position: absolute;
    top: 6%;
    left: 60%;
    width: 30%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(0, 94, 17);
    transition: All 0.5s ease;
}

@keyframes medidas {
    from {
        transform: translatey(10%);
        opacity: 0;
    }
    to {
        transform: translatey(0);
        opacity: 1;
    }
}

@keyframes botones {
    from {
        transform: translatey(100%);
        opacity: 0;
    }
    to {
        transform: translatey(0);
        opacity: 1;
    }
}

.medidas {
    animation: medidas 0.8s ease-out;
}

.contenedor-tabla {
    animation: medidas 0.8s ease-out;
}

.seccionBotonesComisarias {
    animation: medidas 0.8s ease-out;
}

.botonFiltrar {
    animation: botones 0.8s ease-out;
}

.botonRegistrar {
    animation: botones 0.8s ease-out;
}

.botonFiltrarAvanzado {
    animation: botones 0.8s ease-out;
}

.botonApartadoDescargas {
    animation: botones 0.8s ease-out;
}

.contenedor-tabla {
    overflow-x: auto;
    width: 99%;
    user-select: text;
}

.tabla-medidas {
    width: 100%;
    border-collapse: collapse;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.tabla-medidas th {
    text-align: center;
    padding: 20px;
    font-size: 100%;
    background-color: #d8ffe4;
    border-bottom: 3px solid #0d6829;
    border-top: 3px solid #0d6829;
}

.tabla-medidas td {
    text-align: center;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 90%;
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.tabla-medidas tbody tr {
    transition: background-color 0.2s ease;
    pointer-events: auto;
}

.tabla-medidas tbody tr:hover {
    background-color: #f0f9f3;
}

.tabla-medidas tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.tabla-medidas tbody tr:nth-child(even):hover {
    background-color: #e9f7ec;
}

.estado-activo {
    background-color: #d4edda;
    color: #155724;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.estado-vencido {
    background-color: #f8d7da;
    color: #721c24;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.estado-proximo {
    background-color: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    body {
        background-attachment: scroll;
        padding-top: 70px;
    }

    .botonRegistrar,
    .botonRegistrar.contraer,
    .botonRegistrar.mostrar1 {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 90%;
        max-width: 420px;
        margin: 16px auto 0 auto;
        left: auto;
        top: auto;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .botonRegistrar img,
    .botonRegistrar.contraer img,
    .botonRegistrar.mostrar1 img {
        position: static;
        width: 20px;
        margin: 0;
    }

    .botonFiltrar,
    .botonFiltrar.contraer,
    .botonFiltrar.mostrar1 {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .botonFiltrar img,
    .botonFiltrar.contraer img,
    .botonFiltrar.mostrar1 img {
        position: static;
        width: 20px;
        margin: 0;
    }

    .botonesFiltrar {
        display: none;
        position: static;
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        gap: 8px;
    }

    .botonesFiltrar.contraer {
        display: flex;
        position: static;
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        gap: 8px;
    }

    .botonesFiltrar input,
    .filtrarCedula,
    .filtrarNombre {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        box-sizing: border-box;
    }

    .botonBorrarFiltro {
        width: 100%;
        max-width: 100%;
        padding: 8px 20px;
        font-size: 85%;
    }

    .seccionBotonesComisarias,
    .seccionBotonesComisarias.contraer {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, auto) auto;
        width: 90%;
        max-width: 420px;
        margin: 14px auto 0 auto;
        left: auto;
        top: auto;
        height: auto;
        overflow: hidden;
        border-radius: 8px;
    }

    .botonTodos {
        grid-column: 1 / -1;
        height: 42px;
        font-size: 15px;
        border-radius: 0 0 8px 8px;
    }

    .botonC1, .botonC2, .botonC3,
    .botonC4, .botonC5, .botonC6 {
        height: 42px;
        font-size: 15px;
        border-radius: 0;
        width: 100%;
    }

    .botonC1 {
        border-radius: 8px 0 0 0;
    }

    .botonC2 {
        border-radius: 0 8px 0 0;
    }

    .medidas,
    .medidas.contraer {
        position: static;
        display: block;
        width: 90%;
        max-width: 100%;
        margin: 14px auto 40px auto;
        height: 500px;
        min-height: 300px;
        left: auto;
        top: auto;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .contenedor-tabla {
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .tabla-medidas {
        min-width: 700px;
        font-size: 12px;
        display: table;
    }

    .medidas::-webkit-scrollbar {
        width: 8px;
    }

    .medidas::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .medidas::-webkit-scrollbar-thumb {
        background: #27ae60;
        border-radius: 10px;
    }

    .medidas::-webkit-scrollbar-thumb:hover {
        background: #1e8449;
    }

    .contenedor-tabla::-webkit-scrollbar {
        height: 6px;
    }

    .contenedor-tabla::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .contenedor-tabla::-webkit-scrollbar-thumb {
        background: #27ae60;
        border-radius: 10px;
    }

    .contenedor-tabla::-webkit-scrollbar-thumb:hover {
        background: #1e8449;
    }

    .tituloMedidas {
        position: static;
        width: 100%;
        text-align: center;
        margin: 16px 0 12px 0;
        font-size: 130%;
        box-sizing: border-box;
    }

    .tabla-medidas th,
    .tabla-medidas td {
        padding: 8px 10px;
    }

    .input {
        position: static;
        display: block;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .medidas,
    .medidas.contraer {
        height: 450px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }

    .botonFiltrar,
    .botonFiltrar.contraer,
    .botonFiltrar.mostrar1,
    .botonRegistrar,
    .botonRegistrar.contraer,
    .botonRegistrar.mostrar1,
    .input {
        width: 92%;
        font-size: 90%;
        padding: 10px 15px;
    }

    .botonesFiltrar.contraer {
        width: 92%;
    }

    .filtrarCedula,
    .filtrarNombre,
    .botonesFiltrar input {
        width: 100%;
        font-size: 90%;
        height: 38px;
    }

    .seccionBotonesComisarias,
    .seccionBotonesComisarias.contraer {
        width: 92%;
    }

    .botonTodos,
    .botonC1, .botonC2, .botonC3,
    .botonC4, .botonC5, .botonC6 {
        font-size: 13px;
        height: 40px;
    }

    .medidas,
    .medidas.contraer {
        width: 92%;
        height: 400px;
        padding: 8px;
    }

    .medidas::-webkit-scrollbar {
        width: 6px;
    }

    .tituloMedidas {
        font-size: 115%;
        margin: 12px 0 10px 0;
    }

    .tabla-medidas {
        min-width: 560px;
        font-size: 11px;
    }

    .tabla-medidas th,
    .tabla-medidas td {
        padding: 6px 8px;
    }
}

.medidas {
    scroll-behavior: smooth;
}

@keyframes movimiento {
    from {
        transform: translatey(10%);
        opacity: 0;
    }
    to {
        transform: translatey(0);
        opacity: 1;
    }
}

.fondoCerrarSesion {
    animation: movimiento 0.5s ease-out;
}

.fondoCerrarSesion {
    display: none;
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cerrarSesion {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.boton1cerrarSesion {
    background-color: #138035;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.boton1cerrarSesion:hover {
    background-color: #0d6829;
    transform: translateY(-2px);
}

.boton2cerrarSesion {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.boton2cerrarSesion:hover {
    background-color: #c5c5c5;
    transform: translateY(-2px);
}

.imgCerrarSesion {
    width: 100px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.seccionBotonesComisarias button.activo {
    background-color: #eefff3;
    color: rgb(0, 0, 0);
}

.cargando {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cargando span {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.tabla-medidas tbody tr:hover {
    background-color: #f9f9f9;
}

.medidas {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    pointer-events: auto;
}

#cuerpoTabla {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    pointer-events: auto;
}

#cuerpoTabla tr {
    pointer-events: auto;
}

#cuerpoTabla td {
    pointer-events: auto;
    cursor: text;
}

.selectable {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.badge-victimas {
    user-select: none;
    pointer-events: none;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.badge-victimas.si {
    background-color: #d4edda;
    color: #155724;
}

.badge-victimas.no {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-victimas.desconocido {
    background-color: #fff3cd;
    color: #856404;
}

::selection {
    background-color: rgba(19, 128, 53, 0.3);
    color: #000;
}

::-moz-selection {
    background-color: rgba(19, 128, 53, 0.3);
    color: #000;
}

.info-registro-medida {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0;
    margin: 10px 0 20px 0;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    font-family: Arial, sans-serif;
}

.info-registro-medida table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.info-registro-medida thead th {
    background-color: #d8ffe4;
    color: #0d6829;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #0d6829;
}

.info-registro-medida tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.info-registro-medida tbody tr:last-child {
    border-bottom: none;
}

.info-registro-medida td {
    padding: 12px 15px;
    vertical-align: top;
}

.info-registro-medida td:first-child {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
    width: 35%;
    border-right: 1px solid #e0e0e0;
}

.info-registro-medida td:last-child {
    background-color: #ffffff;
    color: #495057;
    width: 65%;
}

.info-registro-medida .numero-medida {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 768px) {
    .info-registro-medida {
        margin: 8px 0 15px 0;
    }

    .info-registro-medida thead th {
        padding: 12px;
        font-size: 14px;
    }

    .info-registro-medida td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .info-registro-medida td:first-child,
    .info-registro-medida td:last-child {
        width: 50%;
    }
}

.botones-accion-formulario {
    display: flex;
    gap: 15px;
    margin: 25px auto 15px auto;
    justify-content: center;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-top: 2px solid #e0e0e0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.botonEditar, .botonCerrar {
    padding: 12px 30px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.botonEditar {
    background-color: #138035;
    color: white;
}

.botonEditar:hover {
    background-color: #0d6829;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.botonCerrar {
    background-color: #95a5a6;
    color: white;
}

.botonCerrar:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.headerF h2 {
    margin-bottom: 5px;
}

#formularioMedidas input:disabled,
#formularioMedidas select:disabled,
#formularioMedidas textarea:disabled,
#numeroMedida:disabled,
#añoMedida:disabled,
#selectComisariaAdmin:disabled {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: not-allowed;
}

.headerF h2[style*="Visualização"] {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 24px;
}

.seccionF h3, .extras h3 {
    color: #0d6829;
    font-size: 18px;
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d8ffe4;
}

#formularioMedidas table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background-color: #ffffff;
}

#formularioMedidas table th {
    background-color: #d8ffe4;
    color: #0d6829;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #0d6829;
}

#formularioMedidas table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

#formularioMedidas .mensaje {
    display: none;
}

.campo-edad {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: none;
    opacity: 1;
}

.botonFiltrarAvanzado {
    position: absolute;
    top: 11%;
    left: 49%;
    width: 3.5%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    transition: All 0.5s ease;
    box-shadow: 0 0 10px rgb(61, 61, 61);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.botonFiltrarAvanzado:hover {
    transform: scale(1.05);
    background-image: url(/Frontend/images/fondoBoton.PNG);
    background-size: cover;
    background-position: center;
}

.botonFiltrarAvanzado img {
    width: 20px;
    height: 20px;
}

.botonApartadoDescargas {
    position: absolute;
    top: 11%;
    left: 53.5%;
    width: 3.5%;
    text-align: center;
    padding: 1%;
    background-color: #deffe8;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 100%;
    text-decoration: none;
    color: black;
    transition: All 0.5s ease;
    box-shadow: 0 0 10px rgb(61, 61, 61);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.botonApartadoDescargas:hover {
    transform: scale(1.05);
    background-image: url(/Frontend/images/fondoBoton.PNG);
    background-size: cover;
    background-position: center;
}

.botonApartadoDescargas img {
    width: 20px;
    height: 20px;
}

.filtrosAvanzados {
    position: absolute;
    top: 16.5%;
    left: 33.75%;
    right: 7%;
    width: 51%;
    transition: all 0.5s ease;
    background-color: rgba(222, 255, 232, 0.149);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.contenedorFiltros {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.grupoFiltro {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.grupoFiltro label {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.filtroFecha {
    padding: 8px 12px;
    border: none;
    border-radius: 100px;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 94, 17, 0.3);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filtroFecha:focus {
    transform: scale(1.02);
    outline: none;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

.filtroEstadoSelect {
    padding: 8px 12px;
    border: none;
    border-radius: 100px;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 94, 17, 0.3);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtroEstadoSelect:focus {
    transform: scale(1.02);
    outline: none;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

.botonLimpiarFiltros {
    background-color: #ffcccc;
    border: none;
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    text-decoration: none;
    color: black;
    box-shadow: 0 0 10px rgb(255, 100, 100);
    transition: All 0.5s ease;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.botonLimpiarFiltros:hover {
    transform: scale(1.05);
    background-color: #ffbaba;
}

.fondoDescarga {
    display: none;
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
    animation: aparecer 0.8s ease-out;
}

.formularioDescarga {
    display: grid;
    text-align: center;
    background-color: #eafff0;
    width: 20%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 0px 10px rgba(255, 255, 255, 0.549);
    padding: 20px;
    transition: all 0.5s ease;
}

.cerrarDescargar {
    display: right;
    background-color: transparent;
    border: none;
    width: 20px;
    margin-left: 95%;
}

.cerrarDescargar img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.titulosSelectDescargas {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.labelDescargar {
    margin: 20px 0 50px 0;
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.selectDescargar {
    text-align: center;
    width: 40%;
    margin-bottom: 50px;
    margin-left: 30%;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 200, 37, 0.714);
    font-size: 17px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.botonDescargar {
    width: 30%;
    margin-left: 35%;
    background-color: #68ea91;
    box-shadow: 0 0 5px rgba(0, 200, 37, 0.714);
    color: white;
    padding: 5px 10px;
    border: 2px solid #00d11f;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botonDescargar:hover {
    box-shadow: 0 0 15px rgba(0, 200, 37, 0.714);
    transform: scale(1.05);
}

.botonDescargar img {
    height: 30px;
    width: 30px;
}

.pDescargar {
    margin-top: 20px;
    font-size: 14px;
    color: #afafaf;
    font-style: italic;
}

@media (max-width: 1024px) {
    .botonFiltrarAvanzado,
    .botonFiltrarAvanzado.contraer,
    .botonFiltrarAvanzado.mostrar1 {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .botonFiltrarAvanzado img {
        width: 18px;
        height: 18px;
    }

    .botonApartadoDescargas,
    .botonApartadoDescargas.contraer,
    .botonApartadoDescargas.mostrar1 {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .botonApartadoDescargas img {
        width: 18px;
        height: 18px;
    }

    .formularioDescarga {
        width: 90%;
        max-width: 420px;
    }

    .selectDescargar {
        width: 70%;
        margin-left: 15%;
    }

    .botonDescargar {
        width: 50%;
        margin-left: 25%;
    }

    .filtrosAvanzados {
        position: static;
        width: 90%;
        max-width: 420px;
        margin: 10px auto 0 auto;
        left: auto;
        top: auto;
        padding: 15px;
    }

    .contenedorFiltros {
        flex-direction: column;
        gap: 12px;
    }

    .grupoFiltro {
        width: 100%;
        min-width: auto;
    }

    .filtroFecha,
    .filtroEstadoSelect,
    .botonLimpiarFiltros {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .filtrosAvanzados {
        width: 92%;
        padding: 12px;
    }

    .grupoFiltro label {
        font-size: 11px;
    }

    .filtroFecha,
    .filtroEstadoSelect,
    .botonLimpiarFiltros {
        font-size: 12px;
    }

    .botonApartadoDescargas {
        width: 92%;
        font-size: 90%;
        padding: 10px 15px;
    }

    .formularioDescarga {
        width: 95%;
        padding: 15px;
    }

    .selectDescargar {
        width: 80%;
        margin-left: 10%;
    }

    .botonDescargar {
        width: 60%;
        margin-left: 20%;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.filtrosAvanzados {
    animation: slideDown 0.3s ease-out;
}