﻿.layout-item-template {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 28px;
    padding: 0 6px 0 12px;
    margin: 1px 0;
    position: relative;
    box-sizing: border-box;
    transition: background-color 0.2s;
}

    .layout-item-template:hover {
        background-color: #f1f5f9;
    }

    .layout-item-template::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: transparent;
        transition: background-color 0.2s;
    }

    .layout-item-template.type-g::before {
        background-color: #72a1cd;
    }

    .layout-item-template.type-r::before {
        background-color: #a589b5;
    }

    .layout-item-template.type-p::before {
        background-color: #8bbd8b;
    }

    .layout-item-template .layout-item-left {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        white-space: nowrap;
        flex: 1;
        margin-right: 8px;
    }

    .layout-item-template .layout-item-name {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
        font-weight: 500;
        color: #334155;
    }

    .layout-item-template .star-active {
        color: #f1c40f;
        font-size: 14px;
        flex-shrink: 0;
    }

    .layout-item-template .layout-item-actions {
        display: flex;
        flex-shrink: 0;
    }

        .layout-item-template .layout-item-actions i {
            cursor: pointer;
            font-size: 14px;
            color: #94a3b8;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.2s;
        }

            .layout-item-template .layout-item-actions i:hover {
                background-color: #e2e8f0;
            }

            .layout-item-template .layout-item-actions i.dx-icon-edit:hover {
                color: #337ab7 !important;
            }

            .layout-item-template .layout-item-actions i.dx-icon-trash:hover {
                color: #dc2626 !important;
            }



