.ub-dashboard-item {
    .title-gray {
        color: var(--color-tertiary);
    }

    .value-primary {
        .number {
            color: var(--color-primary);
            font-size: var(--font-size-large);
        }
    }
}


.ub-dashboard-item-a, .ub-dashboard-item-b {
    background: rgba(255, 255, 255, 1);
    border-radius: var(--size-radius, 0.25rem);
    padding: 0.5rem 1rem 0.5rem 3.5rem;
    transition: all 200ms;
    box-shadow: 0px 4px 8px 2px rgba(132, 163, 246, 0.08);
    display: block;
    margin-bottom: 0.5rem;

    &:hover {
        box-shadow: 0px 4px 8px 2px rgba(132, 163, 246, 0.2);
    }

    .icon {
        float: left;
        width: 2rem;
        margin-left: -2.5rem;
        margin-top: 0.5rem;
        text-align: center;
        height: 2rem;
        line-height: 2rem;
        color: var(--color-primary);

        .font {
            font-size: 2rem;
        }
    }

    .title {
        font-size: var(--font-size, 0.65rem);
        font-weight: 500;
        color: var(--color-primary);
    }

    .desc {
        padding: 0.25rem 0 0 0;
        color: var(--color-tertiary);
        font-size: var(--font-size-small, 0.6rem);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .number-title {
        font-size: var(--font-size, 0.65rem);
        font-weight: 500;
        color: var(--color-tertiary);
    }

    .number-value {
        color: var(--color-text);
        font-size: 1.2rem;
        line-height: 2rem;
    }
}

.ub-dashboard-item-b {
    text-align: right;
    background: var(--color-primary);

    .icon {
        color: #FFF;
    }

    .number-value {
        color: #FFF;
    }

    .number-title {
        color: #EEE;
    }
}
