/* Watermark tool only */
.wm-drop {
    border: 2px dashed rgba(255, 255, 255, 0.2); border-radius: var(--pt-radius);
    padding: 1.5rem; text-align: center; cursor: pointer; background: rgba(255, 255, 255, 0.02);
}
.wm-drop:hover, .wm-drop.is-over { border-color: var(--pt-cyan); background: rgba(0, 242, 254, 0.05); }

.wm-stage {
    height: 520px; overflow: auto; display: flex; border-radius: 8px;
    border: 1px solid var(--pt-border);
    background-color: #1a1d26;
    background-image:
        linear-gradient(45deg, #232734 25%, transparent 25%, transparent 75%, #232734 75%),
        linear-gradient(45deg, #232734 25%, transparent 25%, transparent 75%, #232734 75%);
    background-size: 20px 20px; background-position: 0 0, 10px 10px;
}
.wm-stage canvas { margin: auto; display: block; flex: none; }
@media (max-width: 575.98px) { .wm-stage { height: 380px; } }

.wm-list { max-height: 520px; overflow-y: auto; }
.wm-item {
    display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px;
    border: 1px solid transparent;
}
.wm-item.is-active { border-color: var(--pt-cyan); background: rgba(0, 242, 254, 0.06); }
.wm-item .wm-sel {
    display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; text-align: left;
    background: none; border: 0; color: var(--pt-text); padding: 0;
}
.wm-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; background: #000; }
.wm-meta { min-width: 0; }
.wm-meta .n { display: block; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-meta .d { display: block; font-size: 0.75rem; color: var(--pt-muted); }
.wm-item .wm-rm { flex: none; background: none; border: 0; color: var(--pt-muted); font-size: 1.2rem; line-height: 1; padding: 4px 8px; }
.wm-item .wm-rm:hover { color: var(--pt-danger); }

.progress { background: var(--pt-surface-2); }
.progress-bar { background: var(--pt-gradient); }
.btn-check:checked + .btn-pt-outline { border-color: var(--pt-cyan); color: var(--pt-cyan); background: rgba(0, 242, 254, 0.08); }
