
.modal-dialog.modal-fullscreen {
    max-width: 100%;
    height: 100%;
    margin: 0;
    max-height: 100%;
}

.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 56px);
    overflow: hidden;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none; /* Desactiva la selección de texto en la imagen */
}

.modal-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: none !important;
    padding: 0;
    width: 100%;
    height: auto;
}

.modal-footer button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
}