/* ═══════════════════════════════════════════════════════════════════
 * Frontend Clip Overlay Styles
 * ═══════════════════════════════════════════════════════════════════ */

/* ── Clip region (invisible by default, highlight on hover) ──────── */
.wenp-clip-region {
    position: absolute;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    z-index: 15;
    box-sizing: border-box;
    transition: border-color .25s, background .25s, box-shadow .25s;
}

.wenp-clip-region:hover {
    border-color: rgba(76, 175, 80, .7);
    background: rgba(76, 175, 80, .06);
    box-shadow: 0 0 0 1px rgba(76, 175, 80, .3);
}

/* ── Clip popup ─────────────────────────────────────────────────── */
.wenp-clip-popup {
    position: absolute;
    z-index: 20;
    background: #1a1a2e;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
    padding: 10px;
    min-width: 200px;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.wenp-clip-popup-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wenp-clip-popup-img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.wenp-clip-popup-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.wenp-clip-popup-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: transform .15s, background .2s;
}

.wenp-clip-popup-btn:hover {
    transform: scale(1.05);
}

.wenp-clip-popup-save {
    background: #4caf50;
    color: #fff;
}

.wenp-clip-popup-share {
    background: #2196f3;
    color: #fff;
}