.sortable-ghost {
    opacity: 0.4;
}

.install-card {
    margin-top: 10px;
    cursor: pointer;
    padding: 10px;

    .icon {
        text-align: center;
    }

    .a-detail {
        .d-name {
            .d-name-row {
                gap: 8px;
                min-width: 0;
            }

            .name-actions {
                flex: 1;
                min-width: 0;
                flex-wrap: nowrap;
                overflow: hidden;
            }

            .operate-actions {
                flex-shrink: 0;
            }

            .name-wrap {
                min-width: 0;
                max-width: clamp(140px, 22vw, 320px);
                flex-shrink: 1;
                margin-right: 4px;
                overflow: hidden;
            }

            .name {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-weight: 500;
                font-size: 18px;
                color: var(--panel-text-color);
                max-width: 100%;
            }

            .status {
                margin-left: 5px;
            }

            .h-button {
                float: right;
            }

            .msg {
                margin-left: 5px;
            }
        }

        .d-description {
            margin-top: 10px;
            overflow: hidden;

            .el-tag {
                margin-right: 5px;
            }
        }

        .description {
            margin-top: 10px;
            font-size: 14px;
            color: var(--el-text-color-regular);
        }

        .d-button {
            margin-top: 10px;
            min-width: 330px;
        }
    }

    .e-card {
        border: var(--panel-border) !important;

        &:hover {
            cursor: pointer;
            border: 1px solid var(--el-color-primary) !important;
        }
    }
}

.table-button {
    display: inline;
    margin-right: 5px;
}

.app-divider {
    margin-top: 5px;
    border: 0;
    border-top: var(--panel-border);
}

.update-prompt {
    text-align: center;
    margin-top: 100px;

    span {
        color: #bbbfc4;
    }

    img {
        width: 300px;
        height: 300px;
    }
}

.tag-button {
    &.no-active {
        background: none;
        border: none;
    }
}

.page-button {
    float: right;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media (max-width: 575px) {
    .install-card {
        .a-detail {
            .d-name {
                .h-button {
                    float: none;
                    display: inline-block;
                    margin-left: 5px;
                }
            }

            .d-button {
                min-width: auto;

                .app-button {
                    font-size: 12px;
                    padding: 5px 10px;
                }
            }
        }
    }
}
