.um-drive-level li a{
	color: #414141;
    font-weight: 600;
    width: 100%;
    display: block;
    border-bottom: 1px solid #ededed;
    padding: 8px 0;
}
.um-drive-level li a:hover {
	color: var(--nv-secondary-accent);
}

.um-drive-level li {
	    list-style: none;
}



.um-folder {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 6px;
}

.um-folder-header {
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
    background: #f7f7f7;
	border-radius: 6px;
}

.um-folder-header:hover {
    background: #eee;
}

.um-folder-body {
    display: none;
    padding: 8px 12px;
    background: #fff;
}

.um-drive-sublist {
    margin: 0;
    padding-left: 18px;
}

.um-drive-level {
	margin: 0 !important;
}



/*popup video*/
.um-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 99999;
}

.um-video-box {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 5% auto;
    background: #000;
    border-radius: 8px;
    z-index: 1;
}

.um-video-box iframe {
    width: 100%;
    height: 500px;
    border: 0;
    position: relative;
    z-index: 1;
}

.um-video-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    z-index: 999999;        /* 🔥 iframe-тен жоғары */
    pointer-events: auto;  /* 🔥 click өткізу */
}

.um-video {
	cursor: pointer;
}







/* ===== IMAGE GRID ===== */
/* ===== IMAGE GRID ONLY ===== */
.um-image-item {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.um-image-item img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s ease;
}

.um-image-item img:hover {
    transform: scale(1.03);
}


/* ===== LIGHTBOX ===== */
.um-image-lightbox {
    display: none;                 /* ❗ ТЕК NONE */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 999999;

    align-items: center;
    justify-content: center;
}

.um-image-lightbox img {
    display: block !important; 
    z-index: 1;
	
	width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}

.um-image-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    z-index: 2;                  /* img-тен жоғары */
}


