/* ===== POPCONFIRM (Global) ===== */
.popconfirm-wrap {
    position: fixed;
    z-index: 9999;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 16px;
    width: 280px;
    animation: popconfirmScale 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes popconfirmScale {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popconfirm-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    bottom: -6px;
    left: calc(50% - 6px);
}

.popconfirm-body {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.popconfirm-icon {
    font-size: 1.25rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.popconfirm-content {
    flex: 1;
}

.popconfirm-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #0f172a;
}

.popconfirm-message {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
}

.popconfirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.popconfirm-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    outline: none;
}

.popconfirm-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.popconfirm-btn-cancel:hover {
    background: #e2e8f0;
}

.popconfirm-btn-confirm {
    background: #2563eb;
    color: #ffffff;
}

.popconfirm-btn-confirm:hover {
    background: #1d4ed8;
}

/* Mobile responsive for popconfirm */
@media (max-width: 480px) {
    .popconfirm-wrap {
        width: 90vw;
        left: 5vw !important;
    }
}
