.card-img-select {
    width: 200px;
    display: inline-block;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    transition: border-color linear .3s;
    cursor: pointer;
}


.card-img-select:hover {
    border-color: var(--color-primary);
}

.card-img-select .card-title {
    position: relative;
}

.card-img-select .card-title .checkbox {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    border: 1px solid var(--color-border);
    transition: border-color linear .3s;
}

.card-img-select .card-title .checkbox:before {
    margin-top: 4px;
    margin-left: 2px;
    content: '';
    display: block;
    width: 14px;
    height: 6px;
    border-left: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
    transform: rotate(-45deg);
    transition: border-color linear .3s, background-color linear .3s;;
}

.card-img-select:hover .card-title .checkbox {
    border: 1px solid var(--color-primary)
}

.card-img-select:hover .card-title .checkbox:before {
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.card-img-select.card-img-selected {
    border-color: var(--color-primary);
}

.card-img-select.card-img-selected .card-title .checkbox {
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
}

.card-img-select.card-img-selected .card-title .checkbox:before {
    border-left: 2px solid var(--color-light);
    border-bottom: 2px solid var(--color-light);
}

.card-img-select .card-title .text {
    margin-left: 30px;
    margin-top: 10px;
    width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}