.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal .modal-content {
    background: #fff;
    padding: 36px;
    min-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.modal .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal .modal-body-anexos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-body-anexos{
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 600px;
    max-height: 100vh;
    overflow:auto ;
}

.modal .modal-body-anexos a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    width: auto;
    background: #f8f8f8;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease-in-out;
}

.modal .modal-body-anexos a:hover {
    background: #ececec;
}

.modal .modal-body-anexos a svg {
    width: 20px;
    height: 20px;
}