/*
 * Lock Shell Styles
 *
 * Minimal styling for lock indicators when Lens Pro assets are unavailable.
 */

/* Folder lock icon overlay */
.lens-folder-icon,
.lens-folder-icon-wrapper {
    position: relative;
}

.lens-folder-lock-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: var(--lens-background, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lens-folder-lock-icon .dashicons {
    width: 10px;
    height: 10px;
    font-size: 10px;
    color: var(--lens-text-secondary, #6c757d) !important;
}

/* Attachment/grid view locked overlay */
.attachment.lens-locked-media {
    position: relative;
    cursor: pointer !important;
}

.attachment.lens-locked-media .thumbnail {
    position: relative;
    background: #f6f7f7;
}

.lens-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lens-lock-overlay .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #50575e;
    transition: all 0.2s ease;
}

.attachment.lens-locked-media:hover .lens-lock-overlay .dashicons,
.attachment.lens-locked-media.selected .lens-lock-overlay .dashicons,
.attachment.lens-locked-media.details .lens-lock-overlay .dashicons {
    color: #2271b1;
}

/* List view lock indicator */
.wp-list-table.media tr.lens-locked-media-row {
    background-color: #fafafa;
}

.wp-list-table.media tr.lens-locked-media-row:hover {
    background-color: #f6f7f7;
}

.wp-list-table.media .lens-list-lock-container {
    position: relative;
    display: inline-block;
}

.wp-list-table.media .lens-list-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wp-list-table.media .lens-list-lock-overlay .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #50575e;
}

.wp-list-table.media .lens-list-lock-container:hover .lens-list-lock-overlay .dashicons {
    color: #2271b1;
    transform: scale(1.15);
}
