.exgrid-explorer-grid-row-wrapper {
    display: grid;
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 3px 0px;
    min-height: 50px !important;
}





.exgrid-explorer-grid-data {
    gap: 3px;
    grid-template-columns: repeat(2, 1fr);
    overflow-y: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    display: grid;
}

@media screen and (min-width: 433px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 576px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-body .exgrid-explorer-grid-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-body .exgrid-explorer-grid-data {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 784px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media screen and (min-width: 960px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media screen and (min-width: 1025px) {
    .exgrid-explorer-grid-data {
        grid-template-columns: repeat(5, 1fr);
    }

}















.exgrid-explorer-grid-item {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--fw-white-100);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.exgrid-explorer-grid-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exgrid-explorer-grid-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.exgrid-explorer-grid-item:hover .exgrid-explorer-grid-item-content {
    opacity: 1;
}

.exgrid-overlay-top-left,
.exgrid-overlay-top-right,
.exgrid-overlay-bottom-left,
.exgrid-overlay-bottom-right {
    position: absolute;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
}

.exgrid-overlay-top-left {
    top: 0;
    left: 0;
}

.exgrid-overlay-top-right {
    top: 0;
    right: 0;
}

.exgrid-overlay-bottom-left {
    bottom: 0;
    left: 0;
}

.exgrid-overlay-bottom-right {
    bottom: 0;
    right: 0;
}

/* .exgrid-select-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    z-index: 3;
    cursor: pointer;
} */
.exgrid-select-circle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    border: 2px solid #fff;
    background-color: #000000a5;
    z-index: 1;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    text-shadow: 0px 0px 2px #000000;
}

.exgrid-explorer-grid-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}


.exgrid-explorer-grid-item-content {
    position: relative;
    padding: 1rem;
    user-select: none;

}

.exgrid-explorer-grid-container {
    /* flex: 1; */
    /* display: flex; */
    /* flex-direction: column; */
    position: relative;
    /* overflow-y: auto; */
    /* border: solid 4px var(--fw-white-450); */
    /* border-radius: 6px; */
    /* max-height: 100%; */
}

.exgrid-explorer-grid-row {
    /* flex: 1; */
    display: flex;
    overflow: hidden;
    max-height: 100%;
    position: relative;
}


/* Left column scrolls independently */
.exgrid-explorer-grid-column-1 {
    overflow-y: auto;
    width: fit-content;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}



/* Right column with sticky header + scrollable content */
.exgrid-explorer-grid-column-2 {
    flex: 1;
    display: flex;
    position: relative;
    flex-direction: column;
    max-height: 100%;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    /* overflow-y: auto; */

}



/* Sticky header inside right column */
.exgrid-explorer-grid-header {
    position: sticky;
    display: flex;
    justify-content: end;
    gap: 5px;
    width: 100%;
    top: 0px;
    /* margin-bottom: 10px; */
    right: 0px;
    z-index: 2;
    background: var(--fw-white-050);
    padding: 0px 0px 10px 0px;
    /* border-bottom: 1px solid #ccc; */
}