.dl-widget-wrapper-3efae986 {
    width: 100%;
    margin-bottom: 20px;
    font-family: inherit;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

.dl-widget-wrapper-3efae986.dl-dismissed {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.dl-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dl-header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.dl-dismiss-btn {
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s ease;
    user-select: none;
}

.dl-dismiss-btn:hover {
    color: #333;
}

.dl-container-box {
    background-color: #f8f8f8;
    padding: 30px;
    display: flex;
    align-items: center;
}

.dl-thumb-wrapper {
    position: relative;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-thumb-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dl-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.dl-expand-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.dl-thumb-wrapper:hover .dl-expand-icon {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Lightbox Modal */
.dl-modal-overlay-3efae986 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.admin-bar .dl-modal-overlay-3efae986 {
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .dl-modal-overlay-3efae986 {
        top: 46px;
    }
}

.dl-modal-overlay-3efae986.dl-active {
    opacity: 1;
}

.dl-modal-content-3efae986 {
    position: relative;
    max-width: 80%;
    max-height: 85vh;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.dl-modal-overlay-3efae986.dl-active .dl-modal-content-3efae986 {
    transform: scale(1);
}

.dl-modal-close-3efae986 {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    color: #666;
    transition: color 0.2s, transform 0.2s;
    user-select: none;
}

.dl-modal-close-3efae986:hover {
    color: #000;
    transform: scale(1.1);
}

.dl-modal-img-container-3efae986 {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dl-modal-img-3efae986 {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}
