﻿.module-panels {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.module-panel {
    flex: 1;
    min-width: 0;
}

.module-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.module-panel__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--m-text);
    margin: 0;
}

.module-panel__count {
    font-size: 12px;
    color: var(--m-text-muted);
    background: var(--m-bg-soft, rgba(66, 114, 215, 0.08));
    border-radius: 999px;
    padding: 2px 10px;
}

.module-search {
    position: relative;
    margin-bottom: 14px;
}

    .module-search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--m-text-faint, #9aa3b2);
        font-size: 13px;
    }

    .module-search input {
        width: 100%;
        height: 36px;
        padding: 0 12px 0 34px;
        font-size: 13px;
        border: 1px solid var(--m-border, #e5e8ee);
        border-radius: 8px;
        background: var(--m-bg, #fff);
        color: var(--m-text);
    }

.drag-container {
    min-height: 320px;
    max-height: 480px;
    overflow-y: auto;
    border: 1px dashed var(--m-border, #e5e8ee);
    border-radius: 10px;
    padding: 8px;
}

    .drag-container.is-dragover {
        border-color: var(--m-accent);
        background: var(--m-bg-soft, rgba(66, 114, 215, 0.06));
    }

.drag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: var(--m-bg, #fff);
    border: 1px solid var(--m-border, #e5e8ee);
    border-radius: 8px;
    cursor: grab;
    font-size: 13.5px;
    color: var(--m-text);
    user-select: none;
}

    .drag-item:last-child {
        margin-bottom: 0;
    }

    .drag-item:hover {
        border-color: var(--m-accent);
    }

    .drag-item.is-dragging {
        opacity: 0.4;
    }

    .drag-item i {
        color: var(--m-text-faint, #9aa3b2);
        font-size: 13px;
    }

    .drag-item.is-hidden {
        display: none;
    }

.module-empty {
    text-align: center;
    color: var(--m-text-muted);
    font-size: 13px;
    padding: 24px 12px;
}

.module-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
